Use celery.app package instead of deprecated celery.task.

The `celery.task.base.task` decorator and the `celery.task.base.Task` class have been deprecated.