Python3 compatibility

Hey,

I think the python3 branch is now ready for merging. I have finally set up a python2.6 test environment and all tests that were working on the master branch are still working on the latest commit in this branch, on my machine at least. That is, excluding the jpymad tests which I have not tried at all.

Tell me if you experince any errors.


Best regards,

Thomas