Python 2/3, Django 1.5+, general cleanup

Added support for Python 2 and 3
Modified static file loading for use in Django 1.5+
Cleaned up the code: to be PEP 8 compliant, removed unnecessary imports, etc.