sqlalchemy: addition of Encrypted column type

* Adds submodule `types` inside `invenio.ext.sqlalchemy` package.

* Refactors the `types.py` into separate packages.

* Adds of a type named `Encrypted` that will be used for
  encrypting and decrypting `access_tokens`.  (PR #2173)

* Adds of pycrypto>=2.6.1 to `setup.py`.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
restful: pagination fixes

* Refactors the `restful_pagination` file.  (closes #2102)

* Simplifies `link_header` method when concatenating links into
  one string.

* Renames file `restful_pagination` to `pagination`.
  (addresses #1724)

* Improves PEP8 and PEP257.  (PR #2087)

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>
formatter: include 'cc' in RSS <channel>'s <link>

* Adds collection link to channel if the current collection is defined.
  (addresses #2013)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
search: user-preffered output format

* Introduces a new parameter `of` for personal
  default output format.  (closes #1587)

Signed-off-by: Eirini Psallida <eirini.psallida@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: oaiharvest admin import fix

* Improves PEP8 and PEP257. (PR #2194)

* Temporary fixes wrong imports. (addresses #2188)

Co-authored-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
legacy: websearch circular import removal

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
legacy: bibindex admin interface fix

* Fixes bibindex admin interface. (closes #2190)

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
legacy: legacy admin interfaces addition

* Adds all the admin interfaces to the `/admin` page.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
base: padding removal from top of Flask-Admin page

* Removes padding on top of Flask-Admin page.  (PR #2201)

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: autocomplete data attrs configuration

* Allows autocomplete limit configuration per field.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: plupload template change

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: initial plupload separation
deposit: form.js refactor

* Moves messages to Jinja templates.

* Converts form.js into flightjs component.

* Plupload fixes.

* NOTE introduces new JS library <http://flightjs.github.io/>.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: run_base.html adapt to new JS

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: assets build fix

* Fixes asset dependency for $inveniomanage assets build to
  generate assets with all needed dependencies.

Signed-off-by: Javier Martin Montull <javier.martin.montull@cern.ch>
deposit: fix for sort function for authors

* Fixes invalid `this` pointer in a function passed as a parameter
  of sortable plugin.

Signed-off-by: Kamil Neczaj <kamil.neczaj@cern.ch>
deposit: fix errors in an inline form

* Shows all error messages for inline form field bellow.  (closes #2141)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
installation: testing of development requirements

* Adds list of repositories with developement version of some of the
  most important libraries Invenio is depended on.  (addresses #2044)

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
template: deprecated blueprint_is_module function

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
workflows: dismissable approval alert

* Makes the default approval alert dismissable.

Reviewed-by: Jan Aage Lavik <jan.age.lavik@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Signed-off-by: Georgios Papoutsakis <georgios.papoutsakis@cern.ch>