Added support for JSON errors with mixed case

* Added support for JSON errors with mixed case
* Updated logic in CloudException.Create to handle cases where Header.ContentType is not properly set