Added Python 3 compatibility module. Removed unused imports, added documentation. Removed fcntl from the server.
Removed the jsonclass translation.  Updated the server code a little.