Correctly handle some common couchbase error codes.
Merge pull request #35 from mozilla/couchbase-error-handling

Correctly handle some common couchbase error codes.