Mark gettext functions used as translator attributes

Addresses https://github.com/Yelp/yelp_cheetah/issues/162

Included some acceptance test. Someone more familiar with the organization of this test suite should be able to confirm if this was indeed the right place to have this test.

cc @asottile @bukzor 
pgettext / npgettext are a glibc standard, not so yelpy

https://www.gnu.org/software/gettext/manual/html_node/Contexts.html

On Tue, Nov 4, 2014 at 6:12 AM, Anthony Sottile <notifications@github.com>
wrote:

> In Cheetah/legacy_compiler.py:
>
> > @@ -42,7 +42,7 @@
> >      ('directiveEndToken', '#', ''),
> >      ('PSPStartToken', '<%', ''),
> >      ('PSPEndToken', '%>', ''),
> > -    ('gettextTokens', ['_', 'ngettext'], ''),
> > +    ('gettextTokens', ['_', 'gettext', 'ngettext', 'pgettext', 'npgettext'], ''),
>
> this should not include the yelpy pgettext npgettext. This part should
> happen in our repository and is nto an issue with cheetah.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/Yelp/yelp_cheetah/pull/163/files#r19803931>.
>