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 don't like the first suggestion because it's really long. But that's the only problem I have with it, so we can just go with it for now.