Stricter type checks.

The following types have been added and they are used in place of arbitrary int
values: Key, Action, Mod, MouseButton, Joystick, InputMode and CursorMode.
glfw: Add LICENSE and AUTHORS.
Merge pull request #12 from mewpull/master

Update API to use stricter type checks.