Update database configuration to validate shard spaces before creating anything.

Fixes #860. Update the validate method on shard spaces to optionally check if the database exists.
Merge pull request #861 from influxdb/860-validte-shards

Update database configuration to validate shard spaces before making db