installation: Flask-DebugToolbar Python 3 friendly

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
script: Python 3 compatibility fixes

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: six iteritems usage

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: exception syntax fix for Python 3

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: print function usage
global: os mask fixes

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: import fixes
global: urlparse import fix
global: six string_types usage

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

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
helpers: fix six string and text type

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: html entities import fixes

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
global: `has_key` to `in` operator fix

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
login: fix uid comparison with `None` value

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
travis: enabling apache version module

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
documents: set_content and resful API

* Adds new model and field definitions.

* NOTE: this is still work-in-progress.

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

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Co-authored-by: Esteban J. G. Gabancho <esteban.gabancho@cern.ch>
jsonalchemy: in memory engine addition

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
sqlalchemy: change JSON type to native one.

Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>
jsonalchemy: update `parser.py` for pyparsing 2

* Transform hardcoded decorators into extensions inside the parser
  folder. The new decorators are cataloged as `before`, `on` and `after`
  depending on when they should be evaluated.

* All the decorators that before needed always a tuple now works as
  `@decorator(*args)`.

* Remove `@inherit_from` decorator from field definitions as it is
  replaced by `@extend` and `@override`.

* New decorator extension added `@connect(field_name[, function])` to
  link to fields and propagate changes from one to the other and vice
  versa.

* Remove `include` form field definitions as now registries are used.

* Replace `checker` section by `schema` to perform simple validations,
  like type or length. For more complex check use the checker module.

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