Revamp build process

* Build using CMake (http://www.cmake.org)
* Link with tcmalloc instead of dlopen
* Build on Windows by using MSVC
* Platform library hiding threads and mutexes
* Dropped support for UDP
* Ensure that the test applications run on windows!
* Rename binary to mcd (due to cmake name conflict with libmemcached)

Change-Id: Iecf1aaa81e95564d3c0918a58d041e074e756ab0
MB-8578: Add stats uuid

Change-Id: I18bf15ad81b0911710220abaf19f89ed71598bc5
MB-8149 Possibly dangling pointer

Change-Id: Ibb1e4c14598d587aa2bab8dff1c113c3391573db
Use cbsasl instead of isasl

Change-Id: I441cee610fc95964cdee8d4d3fd8f4d382772c74
MB-7643: auto-tune number of worker threads

If you have more than 4 cores let's use 75% of them for
frontend threads

Change-Id: I76b3693ff5dfa74532e7d4cabb90a853e6b78c60
Try with recursive CMakeLists.txt

Change-Id: I0897d81c275bbf6b873d75108233f682f1518eb5
Revert namechange to mcd (until we've fixed the entire make)

Change-Id: I0f179e80d7f5d63defa8f1ff56d0a9a4f2abe920
Start adding UPR stuff

Change-Id: I947f2a82eab6861a12c4a8d25b3783b0e6bd8b10