Use send_task to dispatch tasks from backdrop.write

Instead of importing the tasks directly, we can use send_task
and a string as the task name. Only the worker needs to import
the tasks directly, so they have been moved back to the
transformers module.