Hack to get ruby-electric working on Emacs >= 24.3

ruby-electric uses the obsoleted variable last-command-char, which has
been removed in 24.3. This adds a variable alias from
last-command-char to last-command-event to keep things working until I
can track down an updated version of ruby-electric (I don't see a
newer version on ELPA or Marmalade).