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.
Merge pull request #68 from alediator/templates_final

Geostore changes for MapStore templates