Fixes 3872: Provides a better customizable application layout that

conforms to HTML5 best practices.

This change aims to provide a more customizable application layout by first
splitting the base layout, menu and content out into their own view files.
The base layout provides generic hooks and only the most basic common data
such as application javascript, stylesheets, inclusion of the menu and auth
token. Javascript inclusion is moved to the bottom of the page for page
loading efficiency. Further, all inline scripts are placed into the same
tag for browser loading efficiency. Stylesheet and generic head hooks are
split out for better readability. Lastly, this includes some updates to the
overall layout by including current HTML5 best practices for detecting and
declaring the doctype for polyfills and proper meta tags.