4.0 work

This PR does the following:
* Fixes JS Errors
* Reverses Doc Titles
* Corrects the page title when viewing a record
* Removes the h1 from the site title and changes page titles from h2 to h1
* Makes the site title a link
* Fixes error where no results were being shown on development machines

I still need to remove the hashchange function, but this pull request should make it so that a designer can start working on the remaining issues.