Python3 support

Hello, I need Python 3 support for jprops on pip so I made some minor changes to the codebase. Please consider including them.

Thank you