jasmine: registry fix

* Includes also normal js files not only the tests.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
jasmine: fix for ASSETS_DEBUG=False

* Adds init.js for jasmine extension.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
jasmine: tests helpers

* Adds event_checker and initialization_checker to quickly check
  properly connected events and initialization of variables in js
  objects.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
Reviewed-by: Javier Martin Montull <javier.martin.montull@cern.ch>
groups: jasmine tests adaptation to requirejs

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: jasmine tests adaptation to requirejs

* Adds Jasmine-Flight to requirejs settings.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
previewer: fix d3js ui block on huge table loading

* Fixes ui blocking by rendering table incrementally.

Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
knowledge: fix backward incompatible change in API

* Refactors of remaining function in knowledge api.
  (closes #2555)

Signed-off-by: Leonardo Rossi <leonardo.r@cern.ch>
access: mailcookie port using SQLAlchemy

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
assets: cleancss url rebasing

* Adds cleancss assets filter with support for rebasing relative URLs
  against COLLECT_STATIC_ROOT.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
previewer: Mozilla pdf.js viewer component

* Adds pdfjs viewer component from Mozilla pdf.js as a single commit.
  This commit is needed since the viewer part of pdf.js cannot be
  installed via bower.

* NOTE: All source code in commit is copyrighted by Mozilla
  Foundation and licensed under Apache License Version 2.0.

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
previewer: initial pdf.js integration

* Integrates pdf.js support in Invenio including customization of
  default pdf.js viewer.

* Fixes problem with pdftk bundle naming collision.

* Fixes problem with jQuery loading in records module.

Reviewed-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>
Signed-off-by: Adrian Pawel Baran <adrian.pawel.baran@cern.ch>
previewer: zip preview and styling fixes

* Fixes issue with ZIP files with no content.

* Fixes minor styling issues.

* Changes icons from Bootstrap to Font Awesome.

Signed-off-by: Lars Holm Nielsen <lars.holm.nielsen@cern.ch>