This is part 1, 1 or 2 more to come. The change to `ruby-syntax-propertize-function' is kind of messy, but I don't see how to do it better without seriously rewriting `ruby-syntax-propertize-heredoc'. --Dmitry