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

:+1: