Fixed security bug in YAML emitter; H/T db@d1b.org

--HG--
branch : 0.2.2-maint
Releasing version 0.2.2.1

--HG--
branch : 0.2.2-maint
Compatibility fix for JSON emitter with Django 1.5