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