Move configuration to DB

I've moved harcoded configuration bits to the configurations table, and created a default config values yml file and a rake task to load those default values into DB.
I'd love to get some feedback on the approach, please.