Correcting use of unicode string and old print
Correcting exception management statement
Adapting import statement to python3
Correcting relative import in httpserver
Converting octal notation to 0o
Defining basestring to (str, bytes) in py3k
Correcting encoding
not iterating on the dictionary we are modifying

fixing "dictionary changed size during iteration" error
Converting py3 view to lists