migrate helpers.py from apps/amo (bug 1074184)
Merge pull request #2706 from eviljeff/1074184-helpers

migrate helpers.py from apps/amo (bug 1074184)