Add missing search mode to mocks
Fix query facetting
Extract metadata from bundle JSON to a JsObject which is lazily parsed.

Added a new Holder trait which can extract an optional child item count
from the metadata section. Items (docs, repos) that 'hold' data can now
be descriminated on and show their child count in the search view.