Fix 6271. Smarter tokenizing of {% regroup %} arguments.
Use token.split_contents() for all template tags that can take variable arguments.