Migrate decorators.py and tasks.py from apps/amo (bug 1042820)