NCBC-190: Support bucket flushing

Change-Id: Ie945e6c36ad9936684d78b67e0eb260997f33014
Reviewed-on: http://review.couchbase.org/23660
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-195: NRE on view query with bad credentials

Change-Id: Ibf4d11be20301a1fc211782edf047237e84f6cfa
Reviewed-on: http://review.couchbase.org/23787
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-179: Add expiry and CAS to StoreJson extension methods

Change-Id: I81265938cf3487be0321fc0d6ca3e27f48aaa4aa
Reviewed-on: http://review.couchbase.org/23759
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-172: RestSharp is new default HTTP client for views

Change-Id: I624ea571dfb5cadaac4f889ece9c2c6a3a283dea
Reviewed-on: http://review.couchbase.org/23786
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-159: Add debug option to view queries

Change-Id: I99cee6738ca1fb096f2933fed24f3bbc45d04edb
Reviewed-on: http://review.couchbase.org/23788
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-191: Update Enyim submodule to latest commits

Change-Id: I1c5871d6e5de37fcdf0087a56f9fd09c96b41238
Reviewed-on: http://review.couchbase.org/24310
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Tested-by: John C. Zablocki <john@couchbase.com>
NCBC-165: Provide support for view does not exist scenarios

Currently, when a view doesn't exist an InvalidOperationException
bubbles up to the caller.  New approach provides CheckExists method
of view, which may be called prior to iterating over view or new
typed exceptions which provide details of the error.

Change-Id: Iedec5543e3eb096815fcbd77a764675d8ed5fded
Reviewed-on: http://review.couchbase.org/24068
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-212: Don't swallow StatusCode in ExecuteRemove

Change-Id: I003574744a051d78385ad13d8053aa9bb650438f
Reviewed-on: http://review.couchbase.org/24312
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-203 : Restructure .net unit tests
Removed white spaces and incorporated review comments
Removed wait handle, not required

Change-Id: I63605bafd0e93a6d780cf73e5705ac33ce06d5ee
Reviewed-on: http://review.couchbase.org/23604
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-218: Add CheckExists to IView interface

Change-Id: I2048806d3ac410c4cda237aa7354097716f90065
Reviewed-on: http://review.couchbase.org/24387
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-174:Fix invalid tests in Nunit project: Change the expected message and set default Http timeout to 1 minute

Change-Id: I852e77ee508cd75e81704150596e94d345fa6587
Reviewed-on: http://review.couchbase.org/24394
Reviewed-by: John C. Zablocki <john@couchbase.com>
Tested-by: John C. Zablocki <john@couchbase.com>
NCBC-174: Fix invalid unit tests for 1.2.1 release

Change-Id: Ifdc499a66d821f4336be72342fa3395d276a188b
Reviewed-on: http://review.couchbase.org/24413
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-229: Add Remove with CAS overload and tests

Change-Id: I00b326c97d42fbbe3f806b86e3e5b252d9afd30d
Reviewed-on: http://review.couchbase.org/24713
Tested-by: John C. Zablocki <john@couchbase.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-236: Fix view param JSON serialization tests

Change-Id: I6b7ccc1968558afd3b015ec3960f2285dab6714a
Reviewed-on: http://review.couchbase.org/24978
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-234: Return CAS value with ExecuteGetJson

Change-Id: Ic8301aacf6c88d132f230e208878bb149824166f
Reviewed-on: http://review.couchbase.org/24977
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-174: Fixes to invalid or missing tests

Change-Id: I0974380cd9042550a7238512c0e7e6d383f1b183
Reviewed-on: http://review.couchbase.org/24980
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-231: implement GetL operations

Change-Id: Ied68e8c42e42b60d9d9cc68bb7996ddd7b99fafa
Reviewed-on: http://review.couchbase.org/25216
Tested-by: John C. Zablocki <john@couchbase.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Reviewed-by: Matt Ingenthron <matt@couchbase.com>
NCBC-238: Add support for master-only, in-memory observe

Use case allows for supporting KeyExists without Get

Change-Id: I85d99f2798bce3e7390a9ffe18c2cb61fb778cb2
Reviewed-on: http://review.couchbase.org/25292
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-239: RestSharpHttpClient timeout set to incorrect timespan property

Change-Id: I027dc83aa43ed6d5a43f86246adc653c2c78ce64
Reviewed-on: http://review.couchbase.org/25311
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
NCBC-243: Fail when requested nodes are greater than online nodes

Change-Id: Iab02a387d60b15c640279efaa2fff4257f66ceef
Reviewed-on: http://review.couchbase.org/25410
Reviewed-by: Saakshi Manocha <saakshi.manocha@globallogic.com>
Tested-by: Saakshi Manocha <saakshi.manocha@globallogic.com>