more python3 (keep unicode rather than converting to bytes)
just some formatting
Merge pull request #15 from alistair-broomhead/master

More python 3 fixes