CCBC-150, CCBC-225: Don't miss out callbacks

Change-Id: I59f07a95d591ded06ac43be1cb88c19f9d8e2fad
Reviewed-on: http://review.couchbase.org/28047
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Make mock wrapper scripts honor 'srcdir'

We're using it in the code already -

Change-Id: I46c1a02b8ed9ab26f5c51592860b8865c8db5927
Reviewed-on: http://review.couchbase.org/28045
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Preserve Mock process across test classes

This makes the runs quicker. Java process instantiation isn't cheap

Change-Id: If2a1b8d18b1983830c4d2dd9fc17d5b5b40fd9ba
Reviewed-on: http://review.couchbase.org/28046
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
CCBC-227 Use specific error code for missing node in vbucket map

Change-Id: Ia2efb773b87109ed08e190958e628f1382e21238
Reviewed-on: http://review.couchbase.org/28052
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Simplify parameters handling for observe

* this static function is used only once
* almost all parameters used to output something
* it has generic name which says nothing about what the function does

Change-Id: I98836d70ecb047946fcf43efd782c127573caae1
Reviewed-on: http://review.couchbase.org/28071
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Support VC11 (Visual Studio 2012)

Add check to detect VC11 and set appropriate output name
Add _VARIADIC_MAX for googletest compilation

Change-Id: Ie3bac435946d240454a6506e4612c6fc8d1781ed
Reviewed-on: http://review.couchbase.org/28029
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
Removed unused 'failover_node' and 'respawn_node' functions

Change-Id: I568b44b11fd755bd3d6db1ce671accc747f134b1
Reviewed-on: http://review.couchbase.org/28044
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>
CCBC-181 Add more complete example to lcb_observe(3) manpage

Change-Id: I1014f146c5fbd3d3b82e7bef6edc06f10055ee02
Reviewed-on: http://review.couchbase.org/28067
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Mark Nunberg <mnunberg@haskalah.org>
Add -Winit-self to warnings

This is very handy :)

Change-Id: I44c0c8d42f8dc6b652d9784cbbe91d4c9f45d472
Reviewed-on: http://review.couchbase.org/28073
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Provide cross platform utilities for process creation

This may go into trond's Platform package one day. But this is meant to
be a means to redirect output and "asynchronously" spawn processes on
both Unix and Windows platforms

Change-Id: Ie8c8a9db5720093e8454b538b2eaa33a01a0a4b8