Add task name resolving mechanism.

See the FlaskWithJobResolvers docstring for more.