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
put proxyUrl in gnGlobalSettings instead of gnViewerSettings
Fix directives that nest ng-search-form directive
use searchObj object declared in preLink fn
fix layer grid with new capabilities format
fix add onlinesrc panel
Update to angular 1.3.4
use wro4j to build less files
use angular one time binding
This has no effect for the moment
Merge remote-tracking branch 'fgravin/search-map' into geocat_searchui_develop

Conflicts:
	geoserver
	services/src/main/java/org/fao/geonet/services/metadata/BatchOpsMetadataReindexer.java
	services/src/main/java/org/fao/geonet/services/metadata/BatchUpdatePrivileges.java
	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/Catalogue.js
Fix hitsperpage and sortby combo