JSCBC-50: Updated key option parser to accept Numeric types.

v8 blurs the lines between String and Numeric types when they are
interchangable.  Updated the key option parser such that it will respect
this and preform an implicit conversion from a number to a string.

Change-Id: I915152c52175165083b7e7d40cac1bf5bd665342
Reviewed-on: http://review.couchbase.org/28836
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Fixed bug causing calls with options to not default spooled to true.

Change-Id: I5fda9e42d7408e80f930099ba0be12ea072a161c
Reviewed-on: http://review.couchbase.org/28838
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Implemented durability requirements.

All storage operations now allow for persist_to or replicate_to
options to be passed to them which will cause an internal endure
call to be made to ensure all durability requirements pass before
invoking any user callbacks.

Change-Id: I8f2c2574833d248f013e6bd674fca9b6434006a8
Reviewed-on: http://review.couchbase.org/28839
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Added jsdoc documentation for error codes.

Change-Id: I97e55eac05a6b7379343d02234fb218cdc93fb09
Reviewed-on: http://review.couchbase.org/28840
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
Added jsdoc documentation for value encoding formats.

Change-Id: Iebe16a4b9949f0885ecb50149b3cfa664983ed02
Reviewed-on: http://review.couchbase.org/28841
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Brett Lawson <brett19@gmail.com>
JSCBC-49: Implemented overrides for cross-library compatibility.

Updated get to take a format option rather than simply raw to allow
the user to specify a specific format that they wish to retrieve the data
as.  Additionally, the set method has been modified to allow overriding
of the flags values instead of it being automatically determined by
the library.

Change-Id: Ia4882beee6bbec719f89089011b6596bcdc40ae5
Reviewed-on: http://review.couchbase.org/28849
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Release 1.0.0-beta

Change-Id: I6cb796ea87c687c5991f8c7c0637881abac0183b
Reviewed-on: http://review.couchbase.org/28855
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Removed extra unused variable.

Change-Id: Iec16de0419284fc51620550d01b97ae5c4432454
Reviewed-on: http://review.couchbase.org/28863
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Update the makefile

The list of file contained deleted files, and lacked the new files

Change-Id: I15c99dc9643004f39015dc9d4e09f7c3274a7e79
Reviewed-on: http://review.couchbase.org/28894
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Fixed flags value not being respected during store operations.

Change-Id: Ie2b1280f3e7dbb40b0d35295f61f9a3712dcff44
Reviewed-on: http://review.couchbase.org/28935
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Free 'custom-allocated' buffers

Buffers too big to fit inside an allocation chunk were not freed,
resulting in serious memleaks when large buffers were allocated

Change-Id: I213b35185ed8eff1312fd09cdb62206c8251e69d
Reviewed-on: http://review.couchbase.org/28962
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Added new getMulti error test.

Change-Id: I19c7e3311ca150785d574f518a06e61c35cbf0f4
Reviewed-on: http://review.couchbase.org/28936
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Updated benchmark code to work with new api.

Change-Id: I0685609e7d8f46b3ac705c3ca6b65fb87df99dcb
Reviewed-on: http://review.couchbase.org/28937
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Updated 4101 error to have a message associated.

Change-Id: Iac47fe3ee0158b0d5426a48d32437e14b5af07f5
Reviewed-on: http://review.couchbase.org/28938
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Fixed missing reference to LCB_SUCCESS in error enum.

Change-Id: I1f2f49f022bc6c0ecf33fb0254e92a353db6c015
Reviewed-on: http://review.couchbase.org/28939
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Added missing semi-colons from couchbase.js.

Change-Id: I63de87600e280d45639894d2773b588fafba03f2
Reviewed-on: http://review.couchbase.org/28940
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Added support for debug parameter on views.

Change-Id: I044f4e553eb0d395d2db882eecf67c4e30b6b403
Reviewed-on: http://review.couchbase.org/28964
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: Brett Lawson <brett19@gmail.com>
Added missing require statement from multiget test.

Change-Id: Ice2f6faf08f19b9a63f0e4c711aa4c2772b82969
Reviewed-on: http://review.couchbase.org/28972
Tested-by: Brett Lawson <brett19@gmail.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Updated http requests to return both results or errors.

http request were originally designed to return only a result OR
an error, however this does not work in the case of on_error
being set to continue.  Updated to allow scenarios where both occur
as well as scenarios where multiple errors are returned.

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

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