Python 3 full compatibility

Hello,

Here are some changes I made to make py-hbpush fully Python 3 compatible.

Hope that helps.

BTW, py-hbpush seems to have been removed from PyPi (I remember I previously fetched it from there).