#1239: Fix SQL queries for case sensitive db.
Import from dir does not support MEF file with ZIP file extension #581
Fix codelists turkish translation corrupted by merge.
Virtual CSW not initialized on startup when the db creation scripts defined them #584.
Admin / Harvester / Privileges not reset when selecting an harvester #586.
#538 The CSW harvester doesn't update the change date of the local metadata
#538 The CSW harvester doesn't update the change date of the local metadata. Added LocalFilesystemHarvester
Search / Remove resource type criteria from language detection (as it push to always detect english).
core - issue in calculating hasEditPermission

Currently, the ORM translation of the SQL query that is made to the
database to check whether a user can edit a MD or not (depending on
which group he belongs to) is the following:

"SELECT
  ...
FROM
  ...
WHERE
  user is EDITOR
AND
  userID = id
AND
  groupID = x AND groupID = y AND groupID = z ..."

The correct request that has to be made should end up with
"[...]
AND
  groupID IN (x,y,z,...)"
instead.

The following patch implements this "IN / OR" logic.
Tested manually, but please review.
fixing hasEditPermission

Taking into account remarks issued from PR.
Merge pull request #599 from pmauduit/fix-hasEditPermissions

core - issue in calculating hasEditPermission
Harvester / GeoNetwork protocol / Metadata not updated on harvest.
Harvester / Category not saved #578

This is more a workaround than a fix but fix settings categories
on first harvest and updates.

The issue is related to some method saving the metadata object
to the repository and caller method also using a previous version of
the metadata object. The fix retreive an updated version of the
metadata object when needed in order to properly save the record.
Merge branch 'stable-develop' of github.com:geonetwork/core-geonetwork into springmvc

Conflicts:
	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork.js
	web-ui/src/main/resources/catalog/components/edit/directoryentryselector/DirectoryEntrySelector.js
	web-ui/src/main/resources/catalog/components/search/searchmanager/SearchFormController.js
	web/src/main/java/org/fao/geonet/Geonetwork.java
Merge pull request #600 from fxprunayre/fix-harvester-gn-protocol

Harvester / GN protocol / Misc fix
Remove marc4j dependency, use mockito-all.

marc4j sometimes fails to download and is not used by any code in codebase.  We are removing this in order to reduce number of dependencies and stabilize build
Merge pull request #601 from jesseeichar/remove-marc4j-dependency

Remove marc4j dependency, use mockito-all.
Harvester / Remove metadata folder when removing all records for a harvester node (#596).
Merge remote-tracking branch 'origin/stable-develop' into stable-develop
Merge branch 'develop' of github.com:geonetwork/core-geonetwork into springmvc

Conflicts:
	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork.js
	web-ui/src/main/resources/catalog/components/edit/directoryentryselector/DirectoryEntrySelector.js
	web-ui/src/main/resources/catalog/components/search/searchmanager/SearchFormController.js
	web/src/main/java/org/fao/geonet/Geonetwork.java