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 thought it didn't deserve one. Do you think it does?