Added API stubs for pin read and write

I'd like to allow the :pin param to allow pin names as well as pin #s
from the RPi expansion port in the future.