Add faceted search (http://trac.osgeo.org/geonetwork/wiki/NarrowYourSearchWidget)

Squashed commit of the following:

commit 4c657cc7080883ac717f100b4d1ffabaf97dae94
Merge: a7076d5 cb91c41
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Dec 5 09:54:14 2012 +0100

    Merge remote-tracking branch 'upstream/master' into feature/lucene-facet

    Conflicts:
    	pom.xml
    	web-client/src/main/resources/apps/search/js/App.js
    	web/src/main/java/org/fao/geonet/kernel/search/LuceneConfig.java
    	web/src/main/webapp/WEB-INF/data/config/schema_plugins/iso19139/index-fields.xsl

commit a7076d578d0ed6d35b2331ba11e03dedc81b8064
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Thu Nov 15 19:18:13 2012 +0100

    Avoid NPE on taxonomy writer.

commit c97a9ed0f8de792fc72c3d1e09f3b9f81b1b549c
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Oct 31 13:41:32 2012 +0100

    Fix geometry indexing.

commit 74229804e6e2ccddff3c4d998d9888779f0abfae
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Oct 10 17:03:50 2012 +0200

    IE fix for FacetPanel.

commit 18594831391b718b9f19f18677583b84dd19887f
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Oct 9 13:56:31 2012 +0200

    Add more/less option if too many values available and clean CSS for facet widget.

commit d0ff79a89a648fd7ef80ecfa9a8b5b8feb11d0ec
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Oct 5 17:52:23 2012 +0200

    Fix call getFieldInfos() on each sub reader exception on GetDomain operation.

commit 730d3e6071ebbb9198106c4adf7790e3f96b00d1
Merge: 1f4591c 815eeae
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Oct 5 14:55:53 2012 +0200

    Merge remote-tracking branch 'upstream/master' into feature/lucene-facet

    Conflicts:
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/widgets/SearchFormPanel.js
    	web-client/src/main/resources/apps/search/js/App.js

commit 1f4591c4233552af4a2a091426a49917491d535b
Merge: 0e7f846 18b27ac
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Oct 5 14:53:28 2012 +0200

    Merge remote-tracking branch 'upstream/master' into feature/lucene-facet

    Conflicts:
    	pom.xml
    	web/src/main/java/org/fao/geonet/kernel/csw/services/getrecords/CatalogSearcher.java

commit 0e7f84652f0326e11ebd262d09fb201204d35ff6
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 24 14:51:59 2012 +0200

    Add permalink capability for facetted search

    Remove duplicate labels.
    Add facet styling CSS class.
    Add the capability to populate search form based on URL parameters (eg. add non existing search criteria to the search form as text input - this could be facet filter).

commit 0eeb64fd21198e369090f28a725013ae726e0653
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 17 12:52:52 2012 +0200

    Add FacetPanels documentation

commit 7fb7a9649b608838d5dedbba44345edd2b88983e
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Thu Sep 13 10:47:42 2012 +0200

    Add FacetConfig instead of HashMap. Add sort by and sort order option for text and numeric field.

commit 96b2e0e18c9860df4561c5b8ce8826431bb7642b
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Sep 12 17:45:23 2012 +0200

    Add facet configuration in settings for the JS apps.

commit a4a6b7bfe4fbbcc48e433a9cb797a2fb44cd1899
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 11 14:00:10 2012 +0200

    Use a simple store for current active filters.

commit 988f98a72ac593f7927cb3abd083a528b8400eaf
Merge: 76e88f8 7838788
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 11 13:59:26 2012 +0200

    Merge remote-tracking branch 'upstream/master' into feature/lucene-facet

    Conflicts:
    	pom.xml
    	web-client/src/main/resources/apps/css/gndefault.css
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/lang/en.js
    	web-client/src/main/resources/apps/search/js/App.js
    	web/src/main/java/org/fao/geonet/kernel/search/LuceneSearcher.java

commit 76e88f810bb76ae3e148cc15dfadf659cd82c0e3
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 11 10:50:51 2012 +0200

    Add facet switcher.

commit bf0218c3a6a44ff02286d81caf6f1076eb97652b
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 10 10:40:47 2012 +0200

    Use Lucene terminology in configuration for facet sort options. Improve good defaults for easier configuration.

commit a4520b4ab394df6d0abd1919a2b38e02226bc5a7
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 10 10:37:12 2012 +0200

    Index need to be fully rebuilt for taxonomy to be refreshed.

commit 1e0101b3d34584d4e12a3199b396dd6f0ea4a1d7
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 10 10:36:30 2012 +0200

    Add creation and revision date year and month index fields.

commit 5016a036d1a1ed6ca992d9bc3b56802db9c80761
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Thu Sep 6 18:16:29 2012 +0200

    Add a specific logger for facet.

commit 0910e6699b8e2403dbd58af337f09f2f1a4a2b76
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Thu Sep 6 18:15:51 2012 +0200

    Fix CSW paging when summary is computed.

commit 49320f77b10726216d471cef250956ff4ab8af37
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Sep 5 08:30:31 2012 +0200

    Add support for more than one facet on a field.

    Do not display a facet if part of current filters.
    Add client side configuration for facet to be displayed.

commit a83d3340743c93236c057a2a3e5959147c4d081a
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 4 18:40:45 2012 +0200

    Update to Lucene 3.6.1 API.

commit b087dd374a7e104501b198f5b4238edb7273b555
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Aug 1 08:13:14 2012 +0200

    Add new examples.

commit 14d424d29095234209785151f45529121c21eb23
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Aug 1 08:08:48 2012 +0200

    Move summary config to LuceneConfig.
    Properly close/commit taxonomyReader/Writer with Reader/Writer.

commit 9ed050595131c31c8c6d81b45b341bb5c8840922
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Aug 1 08:07:40 2012 +0200

    Move summary config to LuceneConfig.
    Properly close/commit taxonomyReader/Writer with Reader/Writer.

commit 2b4549ec6ef88144ef28d6ad8467e7e0ad532798
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Aug 1 08:03:52 2012 +0200

    Add a chart example.

commit 8dac9dfaa1e5d79c20540e7e1d5dd4fc80ea1f43
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Jul 31 08:47:09 2012 +0200

    Indexing errors / flag common types of errors.
    Add support for numeric value boosting.

commit 5bb5a7f3defa61e305e8c203440e0fce30aef358
Merge: 7c29331 fc2536f
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Jul 4 07:36:50 2012 +0200

    Merge branch 'master' into feature/lucene-facet

    Conflicts:
    	web/src/main/java/org/fao/geonet/kernel/search/LuceneIndexReaderFactory.java
    	web/src/main/java/org/fao/geonet/kernel/search/LuceneSearcher.java

commit 7c293317cff07c8dd7c1186e9d48dad212934fd9
Merge: 7b0e4b0 50714ab
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Jul 3 20:03:51 2012 +0200

    Lucene faceted search.

commit 50714abb46d7cf6ad90b3e1813378aca1dc57187
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Jun 22 21:09:29 2012 +0200

    Add draft implementation of faceted search widgets.

commit 34b7d7608cb8414d7065276a6dff60a9790e692b
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Jun 22 18:56:52 2012 +0200

    Fix exception.

commit 9d6b9a0e31b8d9dbb6e770b27b38d63f1490a114
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Jun 15 18:53:34 2012 +0200

    Add a default taxonomy configuration.

commit 584b21acce5f8e75378be6639a36a60195f45d8f
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Jun 15 18:47:34 2012 +0200

    Add Lucene taxonomy support. Upgrade default Lucene version to 34.

commit 52a3c16c79696233fe3ed1f2320de4a63e2ed92d
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Fri Jun 15 17:41:41 2012 +0200

    Add lucene-facet dependency
Restore GeoServer submodule.
WFS Data downloader and WMS layer improvements.

* See http://trac.osgeo.org/geonetwork/wiki/proposals/WFSDataDownloader
* Map / WMS info panel / Add link to metadata (#1108)
* Only activate layer metadata info action when layer is WMS (#1074)
* Map / WMS info panel / Add metadata URL when available (#1076)

Squashed commit of the following:

commit 9c18667d80ba551ba64e9c687457b993ca43fabc
Merge: 6d2224f 8160aa0
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Dec 5 13:19:37 2012 +0100

    Merge remote-tracking branch 'upstream/master' into feature/download-wfs

commit 6d2224f019c89c65f4227e33aa5a7ac59edfa186
Merge: b9094bf f34170a
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Dec 5 13:12:30 2012 +0100

    Merge remote-tracking branch 'upstream/master' into feature/download-wfs

    Conflicts:
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/lang/en.js

commit b9094bfa984a8fe663cae5e9095702b6d6052dd4
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Oct 10 17:29:08 2012 +0200

    Fix wrong merge.

commit 97ce4dd72d992de3b46b9dfc43cf8671c35ca572
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Oct 10 15:49:09 2012 +0200

    Map / WMS info panel / Add link to metadata (#1108).

commit daf4be190053783c1162f44c5b75f6dc0c52b3bb
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Oct 10 13:06:31 2012 +0200

    Improve label for link website.

commit a0320a24c2cf652b320ae2b2e754c7e27fe4bebc
Merge: 5af14ff 74d1128
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Oct 10 12:26:48 2012 +0200

    Merge remote-tracking branch 'upstream/master' into feature/download-wfs

    Conflicts:
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork.js
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/lang/de.js
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/lang/en.js
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/lang/fr.js
    	web-client/src/main/resources/apps/js/GeoNetwork/lib/GeoNetwork/lang/nl.js
    	web-client/src/main/resources/apps/js/OpenLayers/lib/OpenLayers.js
    	web-client/src/main/resources/apps/search/js/map/MapApp.js

commit 5af14ffbdb7e004de30f165b4eb5542811060548
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Sep 26 09:32:50 2012 +0200

    Map / WMS info panel / Add metadata URL when available (#1076).

commit 28668ece4fdd7fb9923ed9df9920faf52a57a4ec
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 25 17:13:54 2012 +0200

    Widgets / Map / Missing choose style and time option for a WMS (#1048).
    Only activate layer metadata info action when layer is WMS (#1074).

commit 8352674ac843afd1d89a8cd5a944f030dd0c7e6a
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 25 15:44:08 2012 +0200

    Improve feature type store. Update map feature when updating coordinates. Improve GetFeature URL.

commit 108f129700b1560eb23a688712b1bc5a1536d67e
Merge: 495e78b 059502e
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 25 10:58:53 2012 +0200

    Merge remote-tracking branch 'upstream/master' into feature/download-wfs

commit 495e78b8f625cfaf91df59bf7dfed827d765ba15
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 25 10:58:32 2012 +0200

    Add dutch translation.

commit 786de55af15093ca50816c5f4e624f68424f4e7c
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 25 09:49:12 2012 +0200

    Add translation for WFS extrator widget.

commit 8b2a7f5c682d48648e1c02aa190593754ba7bcda
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Tue Sep 25 09:30:19 2012 +0200

    Improve error handling. Load only once the GetCapabilities. Add simple utility to display message.

commit 621afcc99e9f78616d403ff63818d6e50ae7367a
Merge: 49f2367 c876e99
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 24 18:00:31 2012 +0200

    Merge remote-tracking branch 'upstream/master' into feature/dowload-wfs

commit 49f2367a5d6dd367945c60df125f110391bddd4b
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 17 19:11:29 2012 +0200

    Add control to draw extraction area on the map.

commit 4cbed73f266553b6804a3d6db62831e9bd4c4500
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 17 19:07:14 2012 +0200

    Add WFS data downloader to JS build

commit de3b5ebac8c75dd1b4657cf597eceba2cbc7a9c2
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Mon Sep 17 16:00:35 2012 +0200

    More error checks. Add version selection combo. Create button instead of simple link.

commit 02c89ba88de8ee06464c6004bd7dd3a15d1c9028
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Sep 12 13:38:44 2012 +0200

    Improve labels. Add map panel to define AOI.

commit 08c17523cccd3ace3a324d31935c43116107c9af
Author: François Prunayre <fxprunayre@gmail.com>
Date:   Wed Sep 12 11:22:30 2012 +0200

    Add WFS extractor draft implementation
Merge remote-tracking branch 'jose/iso19110_schema_update' into improvement/schema/iso19110
ISO19110 schema update / do not break backward compatibility with old records.

Old records will still be supported but will not validate against the new schema. The migration
has to be triggered in order to update records.
Merge pull request #2 from fxprunayre/improvement/schema/iso19110

Improvement/schema/iso19110