Python3k Support

encoding and decoding support for p3k

Python3 support

more code changes

updated travis.yml