Administrative search

The search endpoints should be updated so it is possible for admin users to search for any resource in the system.

There is discussion in #778 about how to implement this. Particularly the discussion around introduction of a `scope` parameter to search.