Implemented ui-router.
* still need to fix reloadOnSearch issue with threads and posts view
* Planning on fixing flickering of those views with nested views
Rebased wip-ui-router with master.
* Rabased master ontop of older commit of wip-ui-router
  commit 50e41e2e49bf930d486a6c2666f1a5f13c6f1529
Fixing bugs with change from routeProvider -> ui-router
* Needed to add $timeout when loading foundation script
* Needed to add $timeout on redirecting from protected routes
* Extracted sidenav for admin into subview
* Fixed issue with limit=all for posts. Needed to update the resolve for
  posts to account for limit all