Don't ever try to query or write against a shard that is closed or deleted.

Uses a RWlock so there's no global lock on writes or queries.
Merge pull request #866 from influxdb/779-threadsafe-shard-deletion

Don't ever try to query or write against a shard that is closed or delet...