Merge autocommit
Set mysql to autocommit

* Should resolve issue #33
* Could resolve other DB issues
* Should switch to sqlalchemy