Add search functionality for annotations
(revised cherry-pick from pilot)

Conflicts:
	application/www/frontend/viewer/annotations.js
Make thumbnails fit in the navigation bar by default.
(cherry-pick from pilot b9955dc28dbe8b6376d504543bfc352a304ff2de)

Conflicts:
	application/www/frontend/views/navigationpanel.js
Improve annotation display.
(revised cherry-pick from pilot dec8ec7312684a67e3ac5bde9c9d5ecfa699f913)

Conflicts:
	application/www/frontend/resources/stylesheets/application.css
	application/www/frontend/views/annotationspanel.js