Update to latest libcouchbase (2.4.0)

Change-Id: Ic1b28cfe7d6eb050c6c37ac1be80c953823e490f
Mass 2.0 Refactor

Change-Id: I13b9bdb8b5f4564ac277da87a98f9f63e36850ab