Update to latest libcouchbase (2.4.0)

Change-Id: Ic1b28cfe7d6eb050c6c37ac1be80c953823e490f
Reviewed-on: http://review.couchbase.org/40041
Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Mass 2.0 Refactor

Change-Id: I13b9bdb8b5f4564ac277da87a98f9f63e36850ab
Reviewed-on: http://review.couchbase.org/39934
Reviewed-by: Jeffry Morris <jeffrymorris@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Release 2.0.0-beta

Change-Id: Ic2193818026bfe9090f72f5cba212746ee010ca0
Reviewed-on: http://review.couchbase.org/40285
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Delete accidentally included file.

Change-Id: I8f75aecee3673996b306da65eaed92ac7c6c9777
Reviewed-on: http://review.couchbase.org/41190
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
JSCBC-132: Fixed incorrect expiry option validation.

Change-Id: I83e6583d69e63d301404b6e6fbbd83bc81db59d9
Reviewed-on: http://review.couchbase.org/40691
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
JSCBC-145: Correct issue with inclusive_end on view queries.

Change-Id: Icb65a738230f9ed34a01739699481f79c15980f0
Reviewed-on: http://review.couchbase.org/41185
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
JSCBC-131: Added further details to view query error object.

Change-Id: Ie07401cdeb4f5dc90d01611d9a74fb6e5712871d
Reviewed-on: http://review.couchbase.org/41186
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
JSCBC-142: Fixed issue where error objects lacked a message property.

Change-Id: I64785d09476fbb7a694960de6dac04f6492a4266
Reviewed-on: http://review.couchbase.org/41188
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
JSCBC-126: Added common flags support.

Change-Id: Ia54db6bfefe5cd984c6e4ca8b5f180bce5c63e5c
Reviewed-on: http://review.couchbase.org/41191
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Added comment explicitly showing hashkey as unsupported.

Change-Id: I9cb0ad0b3f2f2869154c6dedbe95501fd575ec07
Reviewed-on: http://review.couchbase.org/41422
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Correct some missed test errors.

Change-Id: I78cd3d458df193a0d6d7d33fa758da91659966b6
Reviewed-on: http://review.couchbase.org/41423
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Fix typo in name of design document remove function.

Change-Id: Ic12fde3f309f74dbc9355d19239e8d80f6396b47
Reviewed-on: http://review.couchbase.org/41425
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Improve hashkey warning comments.

Change-Id: I739601b7bab7bba27ab20411bc58fa5b905b32ff
Reviewed-on: http://review.couchbase.org/41427
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Correct missed function rename.

Change-Id: Id6dc2f9f023bc3daee7a62b9edb887500948b445
Reviewed-on: http://review.couchbase.org/41447
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Release 2.0.0-beta3

Whilst named beta3, this is in fact beta2 however
the beta2 name was used to fix an npm bug on beta.

Change-Id: Ifa1ab586f5d2a2c9ddc6422f92da8a59b8936cdd
Reviewed-on: http://review.couchbase.org/41432
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Release 2.0.0-beta4

Continueing to have issues with npm.  This should
be the final fix.  This beta represents the version
directly following our initial beta.

Change-Id: I32e750e9232a4863421cfcd0ba17e0cd8cb8678b
Reviewed-on: http://review.couchbase.org/41448
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
JSCBC-128: Added support for performing view queries against the mock.

As a prerequisit of this, document mangement APIs were also
added to allow the creation of design documents to query.

Change-Id: Ic1ea022ab6c4166b9a86245bd98d529745e65e2d
Reviewed-on: http://review.couchbase.org/41466
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Release 2.0.0

Change-Id: Id9ee295aa6c2e3a07337d773b38892755917f23d
Reviewed-on: http://review.couchbase.org/41512
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Correct issue with N1QL query instantiation.

Change-Id: Ie92a09dc25edc60f8949d27c85baa7be4ad3aac4
Reviewed-on: http://review.couchbase.org/41675
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
JSCBC-148: Added an arm configuration header to allow builds on ARM devices.

Change-Id: I089b7c6463bcc140c00a59ecfd2aaec5dcb06888
Reviewed-on: http://review.couchbase.org/41676
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>