Make keyCode undefined when 0

0 is the default but it should really be undefined since the null key
is invalid.
Merge pull request #266 from atom/ks-fix-specs

Make keyCode undefined when 0