[Mac] Improved stability for NSOpenGLPixelFormat

Non-accelerated contexts are now considered iff no accelerated contexts
are available. Additionally, a GraphicsException will be thrown if
context construction fails for any reason, instead of causing a runtime
crash.
Merge pull request #149 from thefiddler/mac_stability

[Mac] Improved stability for NSOpenGLPixelFormat