fixing database permission problem and adding flask manage task to fabric

This pull request:
* Fixes #211 
* Adds a flask_manage(instance, command) function which is now used to issue the initial model materialization. Can also be used to create the test data by manually issuing `fab flask_manage:instancename,command=create_testdata`.