Add completion block for restoring purchases

this adds an optional completion block for restoring in app purchases. I left the existing method to restorePurchases in there to be fully compatible with older versions.