Added M-x tracking of commands issued.

David,

I think it would be useful to track the M-x commands issued as well.  This patch adds this capability.

Matt.