implement angular-ui-router

- remove ngRoute module
- add angular-ui-router
- refactor routing: single view with search and detail child views
- handle routing through query string parameters
- support custom parameters (filters) in query string (not handled by
  ui-route state)
- update URLs in view templates to work with new router
update demo templates
fix next/previous links in pagination

typo: pagination
fix URL handling between states

- properly sets URL when linking from search results to detail view
remove error view controller
set state from map controller

- updated map controller to use ui-router to navigate to details view
update script comments
regenerated script
regenerated demo pages
remove page number when searching

if on a page of search results (e.g. ?page=10) and performing a search,
return to page 1 of the new search results. Do not persist page 10.
setup lightbox gallery in view controllers
implement UI router

- handle greedy search state (cancel and redirect to detail state)
- ignore hash changes (support for butterfly integration)
regenerate demo pages