add hook to multiple modes simultaneously

Makes it easy to add hook to multiple modes. Now works with enhanced-ruby-mode too.