boost updates & cmake modernization

the following patches
* update boost to 1.56
* use boost.sync as semaphore implementation
* modernize the cmake infrastructure & cleans up the messy osx bundle generation by implementing it the correct way. note: SC_SYMLINK_CLASSLIB is untested as it is said to be broken ... maybe the people who introduced it, could either fix or remove it