Add search cache at search layer.  Push down count tracking from display level to search level (as part of the cache).

This means non-active categories will retain their search count as long as global search term stays the same, resolves #4.