Allow specifying database config in yaml.

Converts start_puma to ruby, to allow parsing the production config from
Panoptes.