[IMP] move reset_db and import_xml from manage.py to pythonfosdem/tools.py
[FIX] correct tests.

Use a in-memory database for test.
Create App via create_app
Deactive csrf during tests
Reset database for each test