Fix incorrect default thumbnail basename.
Unify tag display across tagger, viewer, and page header. Introduce a smarter tag sorting method (groups together tags from different sources, and sorts datetime tags according to time value). Enable typeahead.js on tag input.