User content filter

Support for filtering user content by state, media_type, and/or containment (as well as negation of those). This is support for webview/editor to allow adding existing draft pages to a draft book.