wip
more refactoring towards couchbase_api.php
Use a dedicated event base per libcouchbase instance

Previously all of the instances shared a single (the global) event base
instance, so it wouldn't work very well in a multithreaded application.
finish refactoring test cases and couchbase_remove
Move declarations to .h file, implement couchbase_replace()
implement mtouch
add missing test cases
fix touch test
move couchbase.c to src/
Source file reorganisation

PHP function implementations now live in src/functions/*.c

Callback implementations now live in src/callbacks/*.c

src/couchbase.c includes the PHP extension boilerplate pulls it
all together.
implement couchbase_arithmetic() and couchbase_set_arithmetic_callback()
Remove the needless empty line (Hello world from laruence)

Change-Id: I6b8b5839b964b95b9e3c5a946ecf69735a4e84b0
Reviewed-on: http://review.couchbase.org/11598
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Initial commit, finish ext skeleton.

implementd couchbas_connect,add,set,get,get_multi,cas,flush,delete
functions. and wrote test scripts for implemented function.

Change-Id: I393a194342cf8edae66bb36ed434c4cef191dc5e
Reviewed-on: http://review.couchbase.org/11609
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Implements couchbase_set_multi, fix bug when use empty keys.

Change-Id: If1f907154744319851ac70ffffeef3a90fc10f42
Reviewed-on: http://review.couchbase.org/11648
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
milestone version, alpha release

Change-Id: Ibfe4458de7243e1e08251bf49563f17cc4968354
Reviewed-on: http://review.couchbase.org/11782
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Implement OO-style APIs

Change-Id: I4b85c73a0c50008aee13cc8f2e1f10e8485cfb92
Reviewed-on: http://review.couchbase.org/11851
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Added compression support

Change-Id: I3853c1f81e26495f37aaa7ccb8d6861885de6231
Reviewed-on: http://review.couchbase.org/11896
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
fix typos in error messages, make tests pass

Change-Id: I424efdb9fd9e0fc23c786d82e3d170e04cf631f1
Reviewed-on: http://review.couchbase.org/12222
Tested-by: Jan Lehnardt <jan@couchbase.com>
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
print out path search msg for libcouchbase during configure

Change-Id: Ia85efff73adba2a9bb7e12961f04d59ecf1a483f
Reviewed-on: http://review.couchbase.org/12220
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Allow local override for make test

Developers can now do

  $ cp tests/couchbase.local.inc.dist tests/couchbase.local.inc

and adjust the target file to their development environment.

`tests/couchbase.local.inc` is .gitignore'd.

Change-Id: Ib4bdcc83b0542fc7ea38285fa303296b9b1d11ec
Reviewed-on: http://review.couchbase.org/12241
Reviewed-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: Jan Lehnardt <jan@couchbase.com>
Tested-by: John C. Zablocki <john@couchbase.com>
Reviewed-by: John C. Zablocki <john@couchbase.com>