modifications to the i2c/backpack code

modifications to the i2c/backpack code to make it more compatible with
other linux machines that have an i2c bus available to it. Of
particular intrest to me is the BeagleBone.
fixed minor bugs
fixed some minor formatting issues