Attempt to integrate ventures and projects into search.
This broke at some point.
This commit contains my attempts to build on the search implementation
that Team 1 put in Profile. Really, Search should have its own
controller and such, but I don't have time to refactor everything.