Cleanup: More readable way to generate the results HTML page
Cleanup: Search object should know how to display its search terms

Also the use of properties allows us to have a cleaner code.
Cleanup: Search object should know if it has an invalid search term
Cleanup: Invert quoting to avoid escaping
Cleanups: Indents, whitespace and long lines wrap
Cleanup: Remove unnecessary function