Fix search functionality.

apiStore.search('blah') returns a promise, and at this point templates
are not promise aware. This change also makes apiStore.search set
searchResults which can be bound to in the template.