Fix formatting: tabs and spaces
Change main navigation back to html5 semantics.
Change base.html to use url_for