Added config.root to version code to ensure correct path is used when referring to version file
Gemfile updated to introduce database to correct groups ie. sqlite3 for dev and test, mysql for production