Prevent blank database names

Prevent issue https://github.com/influxdb/influxdb/issues/812 from re-occurring.
I think we need to return a string saying that the database name is invalid