Added singleton class and more GLFW callbacks.

Added a general template class for creating singleton objects.
Added general GLFW error callback function (TODO - internals).
Added more GLFW window callback functions (TODO - internals).