Updated to libcouchbase 2.4.0.

Change-Id: I08e50b59da9d6f546a4cedf699050cc6b447b88c
Implement SDK 2.0 API.

Changed name of a few methods.
Implemented support for DSNs.
Support for SSL.
Bootstrap based connection event.

Change-Id: I5ebaee8a61f9cd9a0e7630d5cf909b79322b4b57
JSCBC-119: Allow Function objects as map/reduce values.

Iterate through the list of views and their map/reduce
functions and convert any Function objects to their string
representations first.

Change-Id: I059056452996e6e12a4514ac04b0ba3f26d3652d
Add support for spatial view queries.

Change-Id: I05f2ad7ae14219a9491ee0ca434e14f38715f013
Stop performing async connect.

This causes when new operations are issued
before the async connect triggers.

Change-Id: I74b391f89a5649f0d00ca6da204854d6363a8e14
Update constructor to not defaulty throw on connect error.

Originally, the constructor would assign a connect callback which
threw, even if the user did not want this to be the case.  The
logic has been updated such that any unexpected errors inside the
constructor will throw, but the connect event will not.

Change-Id: I4a5f58ebd0f38a58653ab5f090d49d8db1602f8a