Add tap detection for each key.

If a key is pressed and released in within a short time it is flagged as
tapped.
Update documentation in key.h.
Move update logic from Matrix to Key class.