Merge pull request #1 in MPLIBS/mpayments-paymentapi-cordova from mmilivojevic-edit-1dd0d4c5241 to master

Squashed commit of the following:

commit dac586e415b27eb8366d961105c4c9194fbb6ebd
Author: Miroslav Milivojevic <Miroslav.Milivojevic@infobip.com>
Date:   Fri Nov 15 16:07:02 2013 +0100

    Online edit. change error to pending
Callback function type verification