Added test coverage to search module
typo
Moved *some* templating out to HTML. To get some more advanced logic for
author formatting, had to use a controller function.