first work towards client api search
dry it and activate for maps docs and layers
remove unwanted
refactor and add categories counts
add tags counts
update faceting
update faceting
simplify faceting
add type filtering counts
add multiple choice selectors
add search
properly name the filter
simplify faceting
add faceting on categories and keywords
use category faceting
Merge branch 'api' of https://github.com/simod/geonode into api-search

Conflicts:
	geonode/api/models.py

support for type in faceting
only show keywords with count > 0
respect security in categories and keywords facets
add server side resources faceting with security
just facet the needed type