fun Iterable<ContractState>.sumCashOrZero(currency: Issued<Currency>): Amount<Issued<Currency>>
Sums the cash states in the list, returning zero of the given currency+issuer if there are none.