Added search form.

The search will look to the database for past searches before refreshing
from master. I will refactor this later, a lot of this was messing around with the Instagram and Twitter APIs to find the right queries.