use explicit tag names when registering the template tags

This helps code inspectors, e.g. PyCharm to figure out where the tag
is defined

Note that using SomeTag.name instead of a string does not work in the
case of PyCharm. I haven't tried it with other Python IDEs.