Replace rails config with a database table to handle settings

In order to make the site configurable without having to touch the code, we're moving the settings values into a database table as opposed to a config file. This way the user can update settings on the fly from the app itself.