Move to base.html and switch to HTML5

Deprecate layout.html, switch to HTML5 (#270)