Various enhancements

* Upgrades to 1.2.2
* Use MySQL
* Use supervisord
* Support persistent storage
* Automigration during start