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>
WIP utils: text_type usage instead of unicode

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
WIP sqlalchemy: engine addition