Results 3 issues of Adam Rizkalla

Why was the "preserve" option removed for GPIO direction? Seems to have happened on this commit: https://github.com/vsergeev/python-periphery/commit/49664e032649c1b8f3af0bf91f4bea4ae4e08f9b

question

Fixes #12, similar to #50 but without the extra functions.