installation: Flask-Collect from PyPI

* Removing the custom version.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
records: no JSON version cached check fix

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
travis: config simplification

* Installs the npm dependencies globally, less configuration.

* Forces non interactive versions of apt-get and make-ssl-cert.

* Fixes uglifyjs to uglify-js, different projects.

* Ignores stuff from bower.io.

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
global: jellyfish to replace editdist

Signed-off-by: Yoan Blanc <yoan.blanc@cern.ch>
general: legacy directory pre-creation

* Ensures legacy directories are pre-created upon legacy extension
  `setup_app()` call.  (closes #1789)

Signed-off-by: Samuele Kaplun <samuele.kaplun@cern.ch>
Reviewed-by: Yoan Blanc <yoan.blanc@cern.ch>
Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>
tags: REST API addition

* Creates API for tags, in order to have a reusable API
  both for restful API and views probably.

* Refactors tags REST API in order to use the new tag API.

* Tests the tags REST API.

Signed-off-by: Konstantinos Kostis <konstantinos.kostis@cern.ch>