Improvements for MacOSX compatibility

* Added CMake system detection for MacOSX
* Temporarily disabled sim2doc buddy, 
  due to boost.spirit compilation problems
* Removed deprecated calls to Q_INIT_RESOURCE_EXTERN