White-space nits.
Removed a bunch of unused imports.
Ooops, class name is PootleJSONEncoder.
Fixed TemplateSyntaxError call.