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

Well, if we're not using them that's fine.