updating iOS plugin to handle optional error/success callbacks to fit modern 2.5 design pattern.

Commenting out deprecated methods.