fixed bug with key-release event. Related issue #21

by checking for state != GLFW_REPEAT the keyboard release messages are only sent when the key is actually being released