Add the title and burger menu to small screens.

Fixes #53
Fixes #264
Add TOC for top level nav on ReadTheDocs theme

Fixes #267
Merge pull request #270 from d0ugal/rtd-fixes

ReadTheDocs Fixes
Added generation of searchindex for pages
Added generation for sections h1 and h2

Did not give any decent search results without index on section level.
Documentation
Added generation of searchindex for pages
Fix PEP8 formatting issues.
Simplify the compat module
Initial draft of working Tipuesearch
Don't trim off characters - not sure when this ever made sense.
Add search to the ReadTheDocs theme
Use a modal for search on the MkDocs theme
Build out two key themes
Always clean up, even on errors
Update travis
Updated Travis run
Add required parameters for HTMLParser sublasses
Simplify the JSON serialisation strategy
Fix some unicode compatability issues in Python 3