Python 3.

Started work on a python 3 transformation for the library, which seems possible as most dependencies are also available.

Steps so far:

1. Get rid of circular reference to blob.
2. Ran 2to3 over codebase, commit changes.