Beaglebone I2C backpack compatibility changes

The I2C/LED Backpack code you provide for the Raspberry Pi works perfectly well on a Beaglebone, with a few minor changes. 

The changes are in the pull request I am submitting.