Adds error checking to all controls to verify that specified pins are valid GPIO pins.

Addresses Issue #13.