Refactor the homepage view. Move search/sort/pagination to querystring

This and the following commits should be PR ready, and should not
break existing routes. This means refactored code that affect more
than one route will be duplicated and renamed. We can easily cleanup
extra code after implementing the entire refactor.
Consistent variable names. Implement sorting scriptList.
Don't show libaries on the homepage.
Implement the script page with the new UI.
Move common tasks for scriptPage to their own function.
Simplify routing definitions. Implement scriptEditMetadataPage.

Abstract some code/templates from scriptPage.
Emulated app.route('/').VERB(callback).VERB(callback) from ExpressJS 4
Missed adding some of the new view includes/.
Fix logged out bug.
Bootstrap-markdown doesn't belong on scriptPage.
Implement userPage + userEditPage pages with new UI.

Broke userPage up into userProfilePage (description) and userScriptListPage.
Broke userEditPage up into userEditProfilePage and userEditPreferencesPage (auth strategies).
Todo: Go through other route controllers and rename user -> authedUser. Then change the header nav template.
Remove leftover debugging code.
Add bootstrap-markdown.min.css to userEditProfilePage.
Fix bug when not logged in.
Fix bug where you appeared logged in to the user page you were viewing
Refactor index.home to follow same tasks.push pattern used elsewhere
Redirect to login page if not authed on certain pages.
Typo un header nav login url (had # in front).
Show the script.meta.icon in the script header if it exists.
Redo groupScriptListPage aka groupPage
Missed some imports (crash during /group/youtube?p=2)