Fixed a couple of issues in VM provisioning

* Install dev dependencies
* Make sure db tables are created
* Update the db on VM boot