Search added

A search has been added that enables the user to search for messages or
other users.  The search has some input validation and a RESTful
interface.  The REST interface is /search/users/USERNAME or
/search/messages/messagetext .  This was implemented using a SQL SELECT
query using LIKE with a wildcard either side of the search term given.