Geostore changes for MapStore templates

* Search by category
* Extra category attributes as parameter
* Allow search by categories for anonymous user
* Read security rules for category search

This commit is a squashed merge from templates branch.