Escape sort link URLs.
Merge branch 'stable-2.2'
Manually set timestamp for taggings.
Fix getRecordUrl docblock.
Print entire exception in "backtrace" area
Rework custom homepage routing.

Routes with query strings are now forced to work as redirects. The code
for working with the custom homepage is generally simplified also.