Python3 compat

Python3 compatibility issues:
* xmlrpclib is now xmlrpc.client and SimpleXMLRPCServer is under xmlrpc.server
* no more basestring

All Python2/3 compatibility issues are properly commented.

**Note:** There's no Python3.2 support due to lack of u'' syntax.