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. 
Sorry, I missed this one before. We need a future import for print_function in this file.