Search: set searchbar to search url.
There may be an issue with have "search" in the url without a search term.
Would be an unlikely case, so no testing/error handling done here.
added factory for caching mains state
refactored main to use mainCache service
back button added. Shows cache functionality
merge conflicts
merge tested
Merge pull request #87 from NJLucyk/controllerState

Controller state