Add PostgreSQL and basic migrations

- Add PostgreSQL server;
- Scripts to setup PostgreSQL on Vagrant;
- Add active record migration;
- User migration;
- Register migration;
- Refactor the app config.