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