Allow apps that don't use a DB

The current build pack blows up in this case. If you are running a simple rack app without a database an error is raised. The error is raised by this code:

```ruby
begin
  uri = URI.parse(ENV["DATABASE_URL"])
rescue URI::InvalidURIError
  raise "Invalid DATABASE_URL"
end
```

This commit introduces a simple guard.