Add virtual time capability handling in glfw

Additionally move ```painter``` member to ```Window```, since a ```WindowEventHandler``` can operate on multiple windows simultaneously.