Cache failures

Allows apps to instruct couch_mgr to cache failure responses to avoid hitting the DBs continually for requests that won't succeed.