Move keyboard code into pkg/key.

Still pondering if moving other packages into pkg/ too.

This permits nicer key.F1 and using stringer.