closeTag: improved grammar recognition.

The closeTag is enabled when the grammar matches a certain
pattern. Before this change the check was grammar.name == 'HTML',
now it suffices that its scope name matches /^text.html/.