WebSearch: fix infinite synonym lookup cases

* Fixes infinite recursion when a knowledge base that is used for
  synonym lookup contains a cycle (A->B, B->A).  Adds 'ignore_synonyms'
  parameter to `search_unit()` in order to control which synonyms have
  already been translated and should consequently be ignored.
  (closes #804)

Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
WebSubmit: new websubmitadmin CLI

* Adds websubmitadmin CLI to dump and diff submissions.
  Heavily inspired from CERN submission dumper tool from
  Tony Osborne.  (closes #1334)

Co-authored-by: Tony Osborne <tony.osborne@cern.ch>
Tested-by: Tibor Simko <tibor.simko@cern.ch>
BibUpload: indicators in strong tags

* So far CFG_BIBUPLOAD_STRONG_TAGS config variable assumed strong
  tags had empty indicator. This was causing tags such as 999C0
  to never be matched. The new implementation assume strong tags
  specify also indicators. If they are not specified, then '%' is
  ussumed for ind1 and ind2.
  (closes #939)

Reported-by: Alessio Deiana <alessio.deiana@cern.ch>
Reviewed-by: Tibor Simko <tibor.simko@cern.ch>
Merge branch 'maint-1.0' into maint-1.1

* maint-1.0:
  BibUpload: indicators in strong tags
  WebSubmit: new websubmitadmin CLI

Conflicts:
	configure.ac
	modules/websubmit/bin/Makefile.am
	modules/websubmit/doc/admin/websubmit-admin-guide.webdoc
	modules/websubmit/lib/Makefile.am

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

* maint-1.1:
  BibUpload: indicators in strong tags
  WebSubmit: new websubmitadmin CLI
  WebSearch: fix infinite synonym lookup cases
Merge branch 'master' into next

* master:
  BibUpload: indicators in strong tags
  WebSubmit: new websubmitadmin CLI
  WebSearch: fix infinite synonym lookup cases
travis: initial configuration release
WebSession: user agent in current user fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebStyle: handling file POST or PUT fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibSched: max length of `SchTASK.progress` fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
testutils: logount when not logged in fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibClassify: regression tests fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
BibUpload: regression tests fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSession: regression tests fix WIP

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: fix on websearch settings form

 * Replaces 'of' with 'rg'

* Displays only non restricted collections

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebSearch: template `url_for` fixes
WebSession: login redirection fix

* Fixes redirection problem when trying to access a page that needs
  authentication.

* Updates `invenio_wash_urlargd` in order to not overwrite kwargs values.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>