Prevent blank database names

Prevent issue https://github.com/influxdb/influxdb/issues/812 from re-occurring.
The only issue is that we use the err message to give the user feedback about why the request was bad. Maybe we should have different err classes and look for ones that are just bad user input?