Updated imports for Flask extensions, made them compatible with pylint and some IDEs.
Merge branch 'imports'