[ruby-mode] Avoid inserting end tag for if and do in the middle of a word.

This fixes problems when an insertion is triggered by "ver[if]ication"
and "[do]wnload".
Merge pull request #113 from Jell/ruby-config-fix

[ruby-mode] Avoid inserting end tag for if and do in the middle of a word.