Move away from Mongoid

Mongoid is quite unstable and buggy at times and the MongoDB does not really give any advantages to SQL. So I decided to revert to SQL.

TODO:

* [ ] Convert Location
* [ ] Convert Institution
* [ ] Convert Course
* [ ] Convert Contact
* [ ] Convert ContactOfficer
* [ ] Fix failed specs