Reformat for less noisy diffs in “make check”
Refactor get_keycode
Fix #3 (OSX Volume+/Volume- behave erratically)

 * When a key is pressed, store the key index and current layer in an
   array.
 * Interpret held and released keys according to that recorded layer.
 * When a key is released, zero out its entry.