Add main div to other view pages

To compensate for #main div being removed from the application layout

TODO: I may have missed some views - I'll fix those when I encounter
them
Improved header, added footer, better flashes

Made general improvements to header and footer layout of the site in
the _layout partial. Also, flashes are now centered and good to go.