WebSubmit: file stamper option to copy metadata

* Introduces the "--skip-metadata" option to the file stamper.
  If enabled, the file stamper will not copy the PDF metadata from the input
  file to the (stamped) output file. Otherwise, the file stamper will attempt
  to copy all PDF metadata.  (closes #1569)

Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
Acked-by: Tibor Simko <tibor.simko@cern.ch>
WebSession: Python-2.4 combatibility issue fix

* In Python-2.4 tuples don't have the index attribute. Converting a tuple to a
  list will provide that attribute.

Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: new Add-to-Search Interface

* New search box interface that contains both simple search
  and advanced search (javascript dependent) (addresses #622).

* Replaces the 3-line advanced search, with only 1-line add-to-search,
  with the possibility of adding patterns to the current search pattern.

* Ammends regression tests to take into account a third search
  interface.

* Moves the config variables CFG_WEBSEARCH_ENABLED_SEARCH_INTERFACES and
  CFG_WEBSEARCH_DEFAULT_SEARCH_INTERFACES from the inveniocfg.py to
  invenio.config (closes #271)

Signed-off-by: Ludmila Marian <ludmila.marian@gmail.com>
WebColl: fix for "--language" option

* Fixes cache re-creation for a subset of all available
  languages.  (closes #1399)
WebSearch: fix for snippet highlighting

* Highlights terms that are only searched in fulltext.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
WebSubmit: new output of link to successfully created record

* Shows link to new record if possible. (closes #1641)

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Merge pull request #1 from ludmilamarian/master-websearch-performance-improvement

WebSearch: performace improvement
Merge pull request #2 from ludmilamarian/master-add-to-search

WebSearch: new Add-to-Search Interface
Merge pull request #3 from egabancho/1641-websubmit-link-record-success

WebSubmit: new output of link to successfully created record
Merge pull request #4 from egabancho/websearch-fix-snippet

WebSearch: fix for snippet highlighting
Merge pull request #5 from egabancho/1399-webcoll-fix-lang-option

WebColl: fix for "--language" option
Merge pull request #6 from switowski/Link_Records_fix

Websubmit: Fix for Link_Records.py
WebNews: New module to display and manage news

* The WebNews module that will be responsible for presenting the site's news
  to the users and keeping a history of them.

* This first release includes the tooltip functionality and the database
  structure.

  (addresses #1288)
WebSubmit: support for elements' custom_level

* Adds support for optionally setting a custom_level ('M' for mandatory or
  'O' for optional) for each element through the element description,
  overriding the default level. Useful for dynamically produced elements.

  Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
WebSubmit: print white space instead of None

* Avoids printing "None" (by passing None to string formatting).
  Instead, print a single white space.

  Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
WebSubmit: more robust javascript check

* Before running a custom JavaScript function on an element, check if
  the element is not undefined.

  Signed-off-by: Nikolaos Kasioumis <nikolaos.kasioumis@cern.ch>
Merge pull request #7 from ludmilamarian/master-websearch-record-tabs

WebSearch: better retrieval of detailed record tabs
Merge pull request #8 from kasioumis/master-webnews

WebNews: New module to display and manage news
Merge pull request #9 from ludmilamarian/master-websubmit-admin-is-owner

WebSubmit: grant access to the superadmin as owner
Merge pull request #10 from kasioumis/master-websubmit-fixes-and-improvements

Websubmit: fixes and improvements