Fix for namespacing issues when using html5lib, and new Transperth website.
Minor flake8 cleanups.
Merge branch 'development'