Add quickfix to work on OS X
Add OS X specific file (DS_Store) to gitignore
Add thread, mutex and conditon_variable wrapper

CAF requies these to work, but gcc does not accept the pthread
implementation to work with its std::thread. These wrappers
replace the std::threads. However they do only contain the
necessary functions.