Revamp build process

* Build using CMake (http://www.cmake.org)
* 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
Fix