Python3

Fixes a number of Python 3 incompatiblities (resolves #51 ). This patch tests against py26, py27, py33, and py34. All tests are currently passing on tox. 
Assuming we're missing a `from future import print_statement` or similar in order to keep this py2 compatible?