Add glfwSetCharModsCallback() support.

This is to be merged into `devel_glfw3.1` branch, which in turn is waiting on GLFW 3.1 release to be merged into `master`.

Please review.