Python3 support

I added python3 support. Test passed on python 3.3 and 3.4, but 3.4 failed on Travis-ci because it is not supported yet. The test still passes on python2.6 and 2.7, as well. Please include if you like.

Thank you.