Fix strerror unit test

Should reflect the new LCB_MAX_ERROR value

Change-Id: Ibac2fc53737d48d8fdf6042f247e2db5999214ed
Reviewed-on: http://review.couchbase.org/29923
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
CCBC-169 Handle 302 redirects in HTTP

Change-Id: I27c3e0d7014425727f86eb777fe5f02711f82497
Reviewed-on: http://review.couchbase.org/29853
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Refactor not-my-vbucket handling into own function

This patch is intended to be cosmetic only, and should not change any
behavior

Change-Id: I647fc90056ef8ebe648aeaa37ad73e94a2fb651b
If not retrying a NOT_MY_VBUCKET response, dispatch it

Change-Id: Iccc0fc7db983f90c5926dc3f4ae4c9bb707669bf
CCBC-288: Fail NOT_MY_VBUCKET responses on timeout

Unfortunately we don't have a proper way of verifying this for now. The
mock should be updated to simulate more realistic rebalance scenarios

Change-Id: I6b66b69552abe68545086be0b1a6e8d058f7138a
Pass lcb_t to map_error

This can be used to allow for more elaborate error handling schemes

Change-Id: Ic5a362f88be76e2bcd8a4e371809453afe07a487
Allow hooks for mapping server codes to errors

This also helps handle sane behavior if a new error code is introduced,
or allow user-defined logging when a specific error code is received.

Change-Id: I6530aa7efceec2b7c26ddc14edab581dd48f3f6e
CCBC-204: Don't use config cache with memcached buckets

Change-Id: Ie355f428f42d09962787da8a8e58ad02509fdab1
Fix strerror tests yet again

Change-Id: I4a41913a5358d87ca12e308460196112ee5dccf2