registry: imports from `flask.ext.registry`

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