Add keymap.subr for presenting custom keymap dialogs (with X11 support).

Approved by:	re (glebius)
Fix NetBSD release number

Submitted by:	pluknet
Approved by:	re (glebius)