Add support for windowless applications on OS X

Based on the work done by @ArEnSc and discussion in https://github.com/mosra/magnum/issues/40, magnum-info at least seems to work correctly.