Umbrella task for ApplicationSearch / Spaces integration.
This involves clearing some of the infrastructure work in T7715, then providing generic support for Spaces in ApplicationSearch.
Ultimately, implementing PhabricatorSpacesInterface in an application should immediately make Spaces queries available in all search interfaces, eventually including immediate integration in the API (although this requires fully clearing T7715, which probably won't happen here).