base: messages to flashed_messages macro rename

* Renames `messages()` macro to `flashed_messages()` in order to avoid
  conflict with the messages module.

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Grunt: fix for jquery.min.map cleanup

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
SSO: print statements removal

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
indexer: changes in data model

* Changes 'term' field inside IdxPHRASExxF classes
  from String to Text.

Signed-off-by: Grzegorz Szpura <grzegorz.szpura@cern.ch>
Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
general: fixes for javascript loading

* Addresses problems with Flask-Debugtoolbar and tabs on `/record`
  pages.

Co-authored-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>
Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
restful: inital release

* Adds Flask-Restful initialization.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
deposit: improvements for new code structure

* Adds restful API for depostions.

Co-authored-by: Jiri Kuncar <jiri.kuncar@cern.ch>
Merge remote-tracking branch 'adrianp-github/pu' into pu
restful: fix registry loading

Signed-off-by: Jiri Kuncar <jiri.kuncar@cern.ch>
requirements: dictdiffer egg fix

Signed-off-by: Adrian-Tudor Panescu <adrian.tudor.panescu@cern.ch>