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
Nuke last piece of automake things fixup

Change-Id: I91004f6532de347b02d12bb7c1bd76236ecbf72c
MB-8149 Possibly dangling pointer

Change-Id: Ibb1e4c14598d587aa2bab8dff1c113c3391573db
Use cbsasl instead of isasl

Change-Id: I441cee610fc95964cdee8d4d3fd8f4d382772c74
Prototype for CBUPR protocol

Change-Id: I53f35302fb909be39eb13667300c25ff3baabe86
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