move commands and keys out of xul and into plugin definitions.  Issue #24