OAIRepository: no bibupload -n

* When scheduling bibuploads to add/update OAI information, remove
  the -n option, which would otherwise lead to certain records not
  been exported during incremental harvesting.

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  OAIRepository: no bibupload -n
BibDocFile: fix for bibdoc unattached to record

* Fixes the constructor of the BibDoc class to correctly set the bibrec_types
  class atribute when the bibdoc is not attached to any record.
  (closes #1551)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
memoiseutils: initial release

* Centralises the existing Memoise class into the new utility library.

* Adds unit test cases for Memoise.

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
BibKnowledge: optional memoisation of KBR lookups

* Offers optional memoisation of KBR lookups.  Beware, the memoised cache
  is not automatically updated if the KB changes.  Hence this is useful for
  short-lived CLI processes, not for long-lived WSGI processes.
  (addresses #1484)

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
Co-authored-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
BibIndex: synonym indexing speed up

* Speeds up synonym indexing via KB lookup memoisation.  Leaves searching
  to be done without memoisation.  (closes #1484)

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
Co-authored-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Merge branch 'maint-1.1'

* maint-1.1:
  BibIndex: synonym indexing speed up
  BibKnowledge: optional memoisation of KBR lookups
  memoiseutils: initial release

Conflicts:
	modules/bibrank/lib/bibrank_citation_indexer.py
	modules/miscutil/lib/Makefile.am

Signed-off-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'master' into next

* master:
  BibIndex: synonym indexing speed up
  BibKnowledge: optional memoisation of KBR lookups
  memoiseutils: initial release
  BibDocFile: fix for bibdoc unattached to record
  OAIRepository: no bibupload -n