Edison support re-work

Minor modifications after adding Edison GPIO support.
Run through autopep8.