Implement first pass check to determine if the requested outputs exceed the size of the eligible inputs

Also adds a wb test to check tx outputs match the requested ones.
I think it's hard to read the above block - but I don't have a constructive suggestion to improve it right now