Fix imports from Flask-WTF

[Guys who manage Flask-WTF have removed all imports from wtforms.](https://github.com/ajford/flask-wtf/commit/dd43c08a3f46edf38a4267f5b78ea829fabee571) This code takes into these changes.