Merge branch 'maint-0.99' into maint-1.0

* maint-0.99:
  BibClassify: escape keywords in tag cloud and MARCXML
  WebComment: escape review "title"

Conflicts:
	modules/bibclassify/lib/bibclassifylib.py
	modules/webcomment/lib/webcomment_templates.py
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  BibClassify: escape keywords in tag cloud and MARCXML
  WebComment: escape review "title"
  WebSession: fix for list of admin activities

* Merge note: conflicts in BibClassify solved by applying
  Jerome's updates.

Conflicts:
	modules/bibclassify/lib/bibclassify_webinterface.py
	modules/webcomment/lib/webcomment_templates.py
Merge branch 'maint-1.1'

* maint-1.1:
  BibClassify: escape keywords in tag cloud and MARCXML
  WebComment: escape review "title"
  WebSession: fix for list of admin activities

Conflicts:
	modules/webcomment/lib/webcomment_templates.py
WebComment: escape review "title"

* Escapes title of a review when displaying the review form
  with some initial value (complements 28d3555 for maint-1.0 and
  above).

Reported-by: Friedrich Hust <Friedrich.Hust@rwth-aachen.de>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  WebComment: escape review "title"
Merge branch 'maint-1.1'

* maint-1.1:
  WebComment: escape review "title"
importutils: initial release

* Cherry-picked from aa191a583772a77bfd86d8f4d608e7ada2fe613e.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
importutils: Python 2.4 support and test case

* Adds Python 2.4 support to importutils.

* Changes from using glob to regular expression for
  module matching.

* Adds test case.

Tested-by: Tibor Simko <tibor.simko@cern.ch>
importutils: Makefile clean up

* Removes doubly inserted importutils in Makefile.am.
BibIndex: use human friendly index name

* Adds a more administrator friendly progress display when
  running a BibIndex task in BibSched as it prints the index name
  in addition to the more cryptic index tablename.
  (addresses #1329)

* The same progress display now also tries to give an estimate
  of completed work in percentage.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSubmit: use PyPDF2 if available

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
BibSched: increases size of monitor columns

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebApiKey: renames unit tests to regression tests

* The tests were modifying the database thus have been renamed.
  (closes #1324)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: SPIRES date math search fixes

* Fixes treatment of the first day of the month in SPIRES date queries
  like "find date 1976-04-01 and t dog".  (closes #431)

* Fixes "this week" and "last week" date search functionality.

* Accepts two digits for year search so that users can type 78 instead
  of 1978.  (closes #948)

Reviewed-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: SPIRES invalid date search fix

* Accepts invalid dates without erroring.  (closes #1467)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSearch: fix Python 2.4 syntax error

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
textutils: add ALA-LC transliteration

* Adds textutils methods for ALA-LC transliteration as described
  by http://www.loc.gov/catdir/cpso/roman.html (closes #1092).

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
dataciteutils: DataCite DOI support and test cases

* Add miscutil module to connect to DataCite MDS

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Acked-by: Tibor Simko <tibor.simko@cern.ch>
BibFormat: add DataCite XSL stylesheet

* Adds XSL transformation from MARC XML to DataCite Metadata
  Schema v2.2 XML.

* Review note: added tabfill line for the new format.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
dataciteutils: refactor DataCite API wrapper

* Refactor DataCite API from function based to class based API
  (closes #1457).

* Refactor HTTP connection to use urllib2 with special handling
  for SSLv3.

* Adds Media API functions.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Acked-by: Tibor Simko <tibor.simko@cern.ch>