Python 3 fixes

This picks up on the fork at https://github.com/christophlsa/python-libmilter and adds a few additional fixes for using this with Python 3.

I've only tested it for a few hours but it seems to be working now.