BibDocFile: RHEL6 magic bindings support

* Patches the RHEL6/CentOS6 magic bindings module to introduce
  a missing file flag.  (closes #1466)

Reported-by: Theodoropoulos Theodoros <theod@lib.auth.gr>
Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
OAIRepository: optional support for --notimechange

* Allows oairepositoryupdater to optionally schedule bibuploads with the
  `-n` argument.

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  OAIRepository: optional support for --notimechange
  BibDocFile: RHEL6 magic bindings support
WebJournal: new image template

* Full-width image template in the DEMORJRN submission editor.

Tested-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: fix missing cc info in req object

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
adminutils: fix for global admin instance

* Fixes an issue where Flask-Admin instance was created globally and
  not per Flask application, causing problems when running e.g unit
  tests where each tests gets a new application.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
SolrUtils: support high count of logical clauses

* Needed for ranking of records.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
SolrUtils: cleaner schema.xml

* Allows only one value per field.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
SolrUtils: support entire full-text indexing

* Indexes entire possibly long documents.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibRank: index latest records first in Solr

* Allows the ranker to return better results during long
  indexing runs.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibRank: new multi-tag Solr indexer

* Allows to index multiple tags per Solr field
  by using logical fields.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibRank: faster Solr indexer

* Reduces count of commits.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibRank: better Solr regression tests

* Fixes regression tests for richer indexes.

* Adds tests for indexing of logical fields.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibFormat: fix for snippet generation

* Uses CFG_WEBSEARCH_FULLTEXT_SNIPPETS, the correct config
  variable, for maximum amount of snippets.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
SolrUtils: faster snippet factility

* Makes use of FastVectorHighlighter.

* Backward-compatible to old indexes.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
SolrUtils: better exception handling in indexers

* Improves exception handling for add and commit calls.

* Makes use of autocommit in case commit could not be
  performed.

Signed-off-by: Patrick Glauner <patrick.oliver.glauner@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  SolrUtils: better exception handling in indexers
  SolrUtils: faster snippet factility
  BibFormat: fix for snippet generation
  BibRank: better Solr regression tests
  BibRank: faster Solr indexer
  BibRank: new multi-tag Solr indexer
  BibRank: index latest records first in Solr
  SolrUtils: support entire full-text indexing
  SolrUtils: cleaner schema.xml
  SolrUtils: support high count of logical clauses
  WebSearch: fix missing cc info in req object
  WebJournal: new image template
  OAIRepository: optional support for --notimechange
  BibDocFile: RHEL6 magic bindings support

Conflicts:
	modules/websearch/lib/search_engine.py

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
BibCatalog: new email ticketing backend

* Implements simple email ticketing backend.  Adds corresponding
  unit tests.  (addresses #872)

Reviewed-by: Joe Blaylock <jrbl@slac.stanford.edu>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
installation: Hogan prerequisite documentation

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
BibCatalog: default email backend

* Makes simple ticketing email backend to be the default ticketing system.
  (closes #872)

* Amends unit test case email address.

* Removes trailing whitespace.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>