refextract: fix for command line app ctx

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WebBasket: adjustments for Twitter Bootstrap usage

* Adds content to Your Account/Baskets widget
  (dropdown list of baskets, link to /yourbaskets)

* Implements 'add to basket' in search view

* Replaces broken layouts in html with bootstrap classes
  The old html is not replaced where it looks OK.
  If we want to fix it completely, a Jinja template should be added
  instead of editing the old style html generator.

* Replaces images with bootstrap icons
  (the wb-* images are not removed from system in case
  they are used somewhere else).

* Removes unused imports.

Signed-off-by: Krzysztof Lis <krzysztof.lis@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
testutils: fix for secure base url in test client

* Uses `CFG_SITE_SECURE_URL` in `login` and `logout` methods of Flask
  InvenioTestCase.

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

* Adds template for HM output format.  (closes #1585)

* Addresses issues with output format of search results. (closes #1508)

* Addresses issues with user object used in `format_record`.

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

* Addresses issue with guest detection using request object.
  (closes #1584)

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

* Uses `CFG_SITE_SECURE_URL` for urls where authentication is required.

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

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
testutils: fix for build and run regression tests

* Addresses problem with duplicit application context creation.

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

* FIXME: ranking of search results with `of=id`.

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>