Add ability to dump the keyboard

This puts the raw keyboard information into a file that users can email
to me.  This will enable me to better debug some of the keyboard issues
users are seeing that I can't repro locally