Close database connection in Application process.

Addresses issue #73.  

I had to change the acceptance test's `runner command sets Rails environment from command-line options` test to use `development` instead of `staging` because there is no `staging` environment configuration in our test app.