CORE-4749: Added an AppSubmissionException class.
CORE-4749: Added code to throw an exception when the response from the
JEX isn't in the 200-299 range.