C89-ifying memcached

* the config.cmake.h is what I used to build on my
solaris box...

* Adding support for CMake
* Build on Windows by using MSVC
* Platform library hiding threads and mutexes
* Dropped support for UDP
* Ensure that the test applications run on windows!

Change-Id: If69d07d3572374e1451a17089c5703eca2e20b89
fixup

Change-Id: I4dbf7817f310f0aff8e25c093c6d9c4824d9da70