Added ContextSettings.debug switch

ContextSettings::debug will result in a debug context on Win32 and Linux.
MacOS seems to have no method of creating a debug context, so it does nothing there.