glfw 3.0 has renamed GLFW_OPENGL_NO_PROFILE to GLFW_OPENGL_ANY_PROFILE.

ref: https://github.com/elmindreda/glfw/commit/44e8401f7bf31ab28be3c64518f49e20c7d4483a
glfw 3.0 now includes a scancode parameter in the key callback.

ref: https://github.com/elmindreda/glfw/commit/11615fcaf2832963908c7c8fe6dc44eb2178f8f7