Python 3 support

RemoteCKAN seems to work in Python 3 now.