Wrote a generic GPIO wrapper, initial check-in. Next step is driver for Raspberry Pi.