Options is an optional object with the following possible fields:
certURL: The url to download certificates from. Defaults to 'https://go.microsoft.com/fwlink/?LinkId=246509&cid=#{ID}'.
certCache: An object with a get(id) and set(id, val) method for caching certificates. The methods may return promises for async operation. Defaults to new Verifier.MemoryCache().
verifier.verify(receipt)
Returns a promise for verifying the given receipt XML string. The promise will resolve if the receipt is valid, or raise an error if it is invalid or can't be verified for other reasons.
Errors will have a verifyErr property which can have the following values: