Use mozPaymentProvider API instead of raw paymentSuccess and paymentFail...

...ed functions. (bug 877103) r=kumar

Untested patch!