added "--japanese" option

Added "--japanese" option: applying a patch for Japanese input methods to emacs.rb