Moved test into acj package

It is recommended location to place tests. It also make running test in
pyCharm a lot easier.
Support SQLite for migration scripts and add tests

Now the tests will run the scripts to downgrade to base and upgrade to
head. This will ensure the scripts are runnable. More validation
to the schema should be added.
Update Flask-SQLAlchemy to 2.0