Make library python3 compatible.

I don't know about `Adafruit_BBIO.GPIO`, but `RPi.GPIO` can be used in Python 3 as well, so supporting Python 3 could be useful for some users.

- Rewrites all print statements
- Assigns global long variable to int if Python 3 is running