(Almost) Complete Key Events

- Callbacks for key presses, key releases, and frames where the key is
down can now be registered from script.
- No way to register for key up events, simply because I'm not sure how
to implement that.
Merge branch 'master' of github.com:excaliburHisSheath/Gunship into bug_fix

Conflicts:
	js/startup.js