Removed unused sqlite persistence

Change-Id: I99f1ba3a222c657e2feaca72b9c7308b17987edf
Reviewed-on: http://review.couchbase.org/26920
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove unused support for XMPP

Change-Id: Ia277533848bfd9beb9c0e723458535da317ab033
Reviewed-on: http://review.couchbase.org/26921
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Drop support for syslog logger

Change-Id: Ibb077a255562f7b66a7e25c7959b3c5712ab053b
Reviewed-on: http://review.couchbase.org/26922
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Drop support for logging macro

The way its implemented isn't supported in C89

Change-Id: I224a59c0e9ad6508fd5cb85389ce14f3c3037738
Reviewed-on: http://review.couchbase.org/26923
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Move the code to C89

Change-Id: I6035040768f5a388cc903fe3e90142372c6a6ab1
Reviewed-on: http://review.couchbase.org/26924
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Don't use check for tests

The tests are so simple that we could rather just add implement
that tiny little function ourself instead of depending on another
library and not be able to test it on all platforms..

Change-Id: I930146bfe8818188cd50bec8440d41d1ea9626c9
Reviewed-on: http://review.couchbase.org/26925
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Don't use recursive make

And drop the unused stuff from the Makefile

Change-Id: Ib6573d8edec357934875dfbf92099e10ffaf872f
Reviewed-on: http://review.couchbase.org/26926
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add initial support for cmake

Change-Id: Idc7482bab1d2aea9fd57b798b18cc7833138c0ee
Reviewed-on: http://review.couchbase.org/26927
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Remove unused alarm functionality

Change-Id: Ifa5f8c05bbb59db042d4df5baff956aab0487408
Reviewed-on: http://review.couchbase.org/26928
Reviewed-by: Trond Norbye <trond.norbye@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Revamp build process

Change-Id: Ic685b3fc658d0489d16952ee0760fa6363fd58ef