Python 3 compatibility

Some compatibility changes, with a version change, associated to https://github.com/clement/py-hbpush/pull/2 changes