Functional composition helpers for knockout.
A functional keyboard event handler.
Adds toResolve and toReject matchers for jasmine.