Make simplewiki work with modern tiddlyweb.

* use httpexceptor
* tidy up module handling
pep8, pyflake, pylint cleanups