Parsoid/Todo:Extension tag precedence

Test case:

The ref overrides the template syntax.

Implementation idea: Rule out the nesting of non-HTML tags within attributes in the grammar. This includes template parameters.

More test cases:

{{echo|

The gallery tag needs to have precedence over all of these.