Value returned over serial line should already be 0 or 1.
Add support for shiftIn and shiftOut commands.
Merge pull request #4 from ianjosephwilson/master

Fix digitalRead and add support for shiftIn and shiftOut.