Rewrite rules / metadata/{{uuid}} redirect to old srv/eng/home service (#551).

Add rule for accessing metadata in HTML in multinode configuration also.
eg. http://localhost:8080/geonetwork/node1/metadata/da165110-88fd-11da-a88f-000d939bc5d8
MEF Import does not set privileges when info.xml is defined (#552).
Restore the set property on data directory (may be used in XSLTs). It was removed at some point ...
ISO19139 / Fix editor saving topic category.
ISO19110 / Feature type is not available in simple view mode (#555).
Editor / Fix template field initialization when element does not exist. Only generate the element when requested in the editor.
Remove deprecated subtemplatemanager.js.
Comment deps to LinkTools which is not available (see #557).
Widgets / Advanced form / Group criteria contains an undefined value #556.
In multinodes mode do not rely on system variables in XSL to access data dirs #559.
Restrict node name characters to avoid extra match.
core - adding search criterias

Adding the ability to search by downloadable / dynamic datas, e.g. if
the user has rights on several groups, retrieves MDs that have only
downloadable and/or dynamic resources belonging to the groups list.

Example:
- User is member of group 1,2,3

- he triggers a search for MDs downloadable / dynamic

- the form is posted with the following extra parameters:
  <operation>download</operation>
  <operation>dynamic</operation>

- This is translated into the LuceneSearcher class by:
  <operation_download>1 or 2 or 3</operation_download>
  <operation_dynamic>1 or 2 or 3</operation_dynamic>

- Then translated by the Lucene Query Builder as:
 +(_op1:1 _op1:2 _op1:3) +(_op5:1 _op5:2 _op5:3)

Unit tests have been added to validate the approach into
LuceneQueryTest.
core - adding search criteria

Making the previous commit more generic, it is now possible to query on
other operation fields, e.g. to get every MD that the current user is
able to edit (EDITING), using operation=editing for instance.

The user input sanitization is left to the code before LuceneQueryInput
class is called, and is made into LuceneSearcher.

Test suite has been updated consequently, runtime tests OK as well. No
UI modifications have been made, since the default interface is subject
to rework currently.