Added headless rendering on osx
Merge pull request #138 from DavidPartouche/cocoa_offscreen

Added headless rendering on osx