accomodate the changes in pin that are present on the Revision 2 Raspberry Pi board. Added in simple debugging too - set the environment variable WIRINGPI_DEBUG to get some more debug messages out