Use recursive CMakeLists.txt

Change-Id: Idd0d390fda3864565e6590d549344138d0471eff
Reviewed-on: http://review.couchbase.org/28726
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>
Add flags for formatting c code with astyle

Change-Id: I0fa429d7883463e420de1f849657a9284b172b3c
Build libconflate with cmake

Change-Id: I4a04ac5294a887a98a67cbb8184a325b4e55839c
Build memcached with cmake

Change-Id: I1d2809ff8c0c8440a6ed79a1f8915880af3acf09
Try to build libevent as well

Change-Id: Id0f8d57f77181eafb98fc73cd1da84a14c2756bd