Added decorator to produce structured response
Code refactoring
Removed decorator, added jsonview module
Revert "Removed decorator, added jsonview module"

This reverts commit 3be40ad033c6a6b8b16bc559bed1f0e0afeb54fe.
Removed stacktrace frome response
Merge branch 'master' into 131002-case

Conflicts:
	corehq/util/view_utils.py
Handle more error types
Merge pull request #4203 from dimagi/pull-request-4178

Continuation of #4178