Reject the processing if the errorThrown property has been set.

This allows aborting the processing queue via data.abort() call.
Use ProgressEvent instead of XMLHttpRequestUpload to check for XHR2 capabilities. Closes #2671
Catch imagick image detection exceptions.