[Emacs] Factor out some functionality from haml-highlight-ruby-tag.
[Emacs] Factor out some functionality from haml-highlight-ruby-tag.

srinivashappy/sass,Anshdesire/sass,stewx/sass,askl56/sass,srawlins/sass,nickg33/sass,nazar-pc/haml,saper/sass,chriseppstein/sass,JuanitoFatas/sass,jaroot32/sass,14113/sass,Ahnita/sass,sideci-sample/sideci-sample-haml,purcell/haml,danielfein/sass,HugoRLopes/sass,chriseppstein/haml,dg1dd1ngs/haml,schneems/sass,macressler/haml,Andrey-Pavlov/sass,tangposmarvin/haml,dylannnn/sass,Galactix/sass,macressler/haml,zaru/sass,oss-practice/sass,stewx/sass,keithpitty/haml,nicklima/sass,OrenBochman/sass,lmetla/sass,danielfein/sass,zaru/sass,ridixcr/sass,MetaAshley/sass,hcatlin/sass,liquidmetal/sass,stanhu/haml,stanhu/haml,Iamronan/sass,OrenBochman/sass,tangposmarvin/sass,srawlins/sass,concord-consortium/haml,liquidmetal/sass,nazar-pc/haml,lmetla/sass,haml/haml,baiyanghese/sass,amitsuroliya/sass,haml/haml,Galactix/sass,hcatlin/sass,haml/haml,keithpitty/haml,askl56/sass,Ahnita/sass,cmpereirasi/sass,Industrys/sass,jaroot32/sass,uniba/hamldoc_ja,modulexcite/sass,antonifs/sass,xzyfer/sass,tenderlove/sass,cmpereirasi/sass,tangposmarvin/sass,dg1dd1ngs/haml,ridixcr/sass,schneems/sass,JuanitoFatas/sass,Iamronan/sass,antonifs/sass,srinivashappy/sass,Anshdesire/sass,DanteKaris/sass,Nzaga/sass,rammy7219/sass,PMArtz92/sass,StephanieMak/sass,haml/haml,amitsuroliya/sass,amatsuda/haml,chriseppstein/haml,HugoRLopes/sass,saper/sass,MetaAshley/sass,rammy7219/sass,Industrys/sass,PMArtz92/sass,DanteKaris/sass,Andrey-Pavlov/sass,nickg33/sass,modulexcite/sass,briangonzalez/sass,xzyfer/sass,dylannnn/sass,nicklima/sass,tangposmarvin/haml,Nzaga/sass,StephanieMak/sass