add prepare_task method for celery canvas workflow

This changes need for support canvas workflow.