Fixed broken redeem; added paymentServerUrl; improve error reporting in purchase method; bump version to 5.1.1