Added jsonable_server_error in common/util/views.py
Make CMS errors JSON-able if requested via AJAX
Make notifyOnError handler try to parse response as JSON