Haystack filtering & some search-related bug fixes

Use haystack to perform filtering if enabled
Fix vector vs raster search result counts
Fix search/explore item links
Use haystack on explore pages (if enabled)
New option to avoid filtering by permissions w/haystack