Migrate decorators.py and tasks.py from apps/amo