Created failing test for #798
Use DjangoJSONEncoder for encoding form submission

Fixes #798
Merge branch 'fix-form-submission-encoding' of https://github.com/kaedroho/wagtail into kaedroho-fix-form-submission-encoding
Release note for #799
Merge branch 'kaedroho-fix-form-submission-encoding' into stable/0.8.x