Cleanup & optimize search
Cleanup & optimize search

Do a select_related() on the results of the search queries, drastically
reducing time spent to run them. While at it, cleanup & indent the code
to meet my perfectionist standards.

apoikos/servermon,apoikos/servermon