detect pi version and act accordingly

With the newer raspberry pi versions, the gpio pins have been shuffled between
headers. This change detects the pi version and exposes the right gpio pin
numbers.
test
added BB to the credits
Merge pull request #1 from basbloemsaat/WorkWithMultiplePiVersions

Work with multiple pi versions