Return descriptive error on attempt to query views of non-healthy bucket

If the CouchAPIBase property is missing, it's probably because the
bucket isn't in a healthy state, so report the state in the error.
(See couchbase/sync_gateway#147 wherein someone has a bucket that is
permanently stuck in "warmup" state.)