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

created a new file test_jinja in mkt/site/tests/ for this and test_jinja_trans_monkeypatch below as they're not testing anything in helpers