Embed JavaScript translation into page.

This also fixes the name of the LANGUAGES setting to adher to what Django
expects —  an iterable of two-tuples. The settings dict setting is now called
LANGUAGES_DICT. With this in place the deployment only requires running
`./manage.py compilejsi18n`.

Fixes #1809.