Py3

Hello,

I've written some changes for Python 3 support. These changes should not be merged at this time, but it would give you a preview on what I'm trying to do. What do you think?

I've made (manual) tests: the application seems to work fine with this version. However, I'd like to make a few more tests before merging (if you're interested, of course :)).

Thanks !