Fix for Batch update privileges does not properly index records

https://github.com/geonetwork/core-geonetwork/issues/620
Merge branch 'stable-develop' into develop

Conflicts:
	services/src/main/java/org/fao/geonet/services/metadata/BatchUpdatePrivileges.java
Administration / Batch XSL process does not work anymore #695. Retrieve properly the user session to get the selection. It was always empty.
Administration / Batch update / Adapt UI to the new response format.
Batch update privileges does not work #697.
actually do the save in addCategories.

(the parameter had been added but I had forgotten to add the save call)
Merge branch 'develop' of github.com:jesseeichar/core-geonetwork into develop
Merge branch 'develop' of github.com:geonetwork/core-geonetwork into develop
Merge remote-tracking branch 'upstream/develop' into search-map
Remove injection of gnSerachSettings in generic directives (searchForm, hitsPerPage, sortBy)
Fix editBoard to use saerchObj