Fix RACK_ENV exception in development mode.

Getting RACK_ENV out of OS env directly means
development-as-default behaviour does not occur, at least on
Rails (but presumably on other Rack stacks, too).
Allow database.yml to co-exist with Riak.