Cleaned up how the platform specific implementations of the graphics context class are structured. Added some new methods in the process: isActive, getActiveContext and getAllContexts.