Treat _header.html and _footer.html as ERB templates

Make it so that we can actually generate menus in html and update page titles when generating the docs.

This also has commits from #40 and #41