apigee/usergrid-stack — pull request #255 by snoopdave (2013-11-19 21:34:35+00:00)
Title: USERGRID-2670 restore JSON formatted error responses 

My recent error handling caused some error responses to be returned as plain text instead of JSON. This PR fixes that and provides a test for the duplicate email in organization failure case.