Adds support for search

Also refactors Headquarters::Request a bit
You can probably hold off the version bump until we have support for sending emails.