Make search results mongoose documents

This means that they get the memberships and urls added to the json that
the API returns, as well as ensuring that hidden fields are still hidden
in search results.