Prevent blank database names

Prevent issue https://github.com/influxdb/influxdb/issues/812 from re-occuring.
While in here I decided to test some other bad requests.