Allow fallback URLs for BIP72 payment request fetching. Adds unit tests.
Work done can never be negative. Assert for that fact, because we've seen negative values in the wild.