Merge pull request #258 from dcousens/wallclean

Wallet clean
Wallet: use indexOf explicitly over include*
Wallet: use === when comparing with undefined
Wallet: use __processTx over a free function

The use of bind in this case wasn't idiomatic.
Wallet: assign indexOf in the same step