BibAuthorID: customizable profile look.

* Removed unnecessary fields in Atlantis' author's profile page.
* Added fields' visibility configuration.
* Rewritten author's profile page templates.
* Refactored webauthorprofile's webinterface file.
  (closes #1672)

Signed-off-by: Mateusz Susik <mateuszsusik@gmail.com>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibAuthorID: Refactored citations breakdown categories.

* Small refactoring of _get_breakdown_categories_bounds().

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibAuthorID: Fix most relevant name on APPP

* Fixed computation and display of most relevant name on APPP.
* Removed all usages of create_normalized_name (no need
  to alter the look of displayed names)

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibAuthorID: APPP tickets concurrency fix

* Show an error page when committing already committed tickets
  instead of crashing miserably.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibAuthorID: get_papers_affected_since fix

* It now uses timestamps from the aidPERSONIDPAPERS and aidPERSONIDDATA tables
  to determine all records which have been touched.

* Bibindex now uses this function correctly.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibAuthorID: rabbit tests fix

* Fixed tests which were not compatible with nosetests.
* Removed wrong dependency on test order in testutils.
* Better use of etree for xml parsing.

Signed-off-by: Artem Tsikiridis <artiem.tsikiridis@cern.ch>
Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibAuthorID: lxml is the default parser for rabbit tests. All tests pass.

Signed-off-by: Artem Tsikiridis <artiem.tsikiridis@cern.ch>
Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibAuthorID: Update regression test as content shown has changed.
BibAuthorID: Graceful handling of an empty external publications list.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
BibAuthorID: boxes for one column view addition

* Adds boxes for Publication graph and Citations.
BibAuthorID: logger wsgi compatibilty

* Never print if initialized inside a mod_wsgi container.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
Signed-off-by: Samuele Carli <samuele.carli@cern.ch>
BibAuthorID: Handling of timeouts when connecting to crossref.

Signed-off-by: Artem Tsikiridis<artem.tsikiridis@cern.ch>
BibAuthorID: Changed all varchar 256 to 255 in bibauthorid tables.

Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
BibAuthorID: Fixed handling of timeouts when fetching titles.

 Signed-off-by: Artem Tsikiridis <artem.tsikiridis@cern.ch>
BibAuthorID: concurrency tolerance with bibupload

* Skip records that have been modified by bibupload and not process
  by rabbit yet.
  They will processed next time.
Bibsched: status getters

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
orcidutils: initial release

* Changes ORCID box appearance in author's management page.
* Adds exception handling in ORCID importing process.
* Moves ORCID importing utils from bibauthorid to miscutils.
* Adds scope choice to oauth2 ORCID authorization process.
* Creates a bibtask for pushing data to ORCID.
* Fetches all posible data while pushing data to ORCID.
* Creates an 'orcidpush' binary.
* Allows user to push their works to ORCID database.
* Adds ORCID XML tools ('orcid_xml_exporter.py')
* Adds unit tests for ORCID XML tools.
* Stores info about orcid authentication in invenio sessions.

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibAuthorID: Atlantis fixes.

* Addresses related issues with Atlantis demo site.
  (closes #1862)

Signed-off-by: Mateusz Susik <mateusz.susik@cern.ch>
BibMatch: Removed redundant string_partition import.

* string_partition (python 2.4 compatibility) was replaced by python's
  string.partition in the standard_library.

Signed-off-by: Minn Soe <minn.soe@cern.ch>
BibEdit: new affiliation system

* Switch to using the new affiliations system that stores data
  in aidAFFILIATIONS.

* Adds missing affiliations upgrade recipe.