Added template filter "json" which is not vulnerable to XSS attacks

Added template tag ``...|json`` which shall be used instead of ``...|js``, because the latter is vulnerable to XSS attacks when used in combination with unvalidated data.

For details see https://code.djangoproject.com/ticket/17419