Test and refactor Event#search.

Test and refactor SQL search engine implementation of Event#search. This lays the groundwork for eventual object extraction.
The result being `event1` is also dependent on the start time, which ties in the ordering. What about just asserting that the result set has only one item?