Starting on cleaning up for 003

- Upgraded bookshelf and knex
- Added logging to the migration so that we can more easily debug people's upgrades (cos that's coming)
- Readded populating default settings to migration (fixes the issue I encountered after #2980)