python3 compatibility

@peplin's #181 and #182 plus packaging/changelog tweaks