Optional exception-throwing in methodCaller()

Hi, I thought it would be nice if iSDK could be configured to throw an exception from methodCaller() when the API returns an error. Here is some code that should be backwards compatible and includes a test case.

Thanks,

Ben Dunlap