fixes to tag parsing of new whitespace-friendly syntax {% expr %}
mostly to enforce ignoring trailing whitespace