Add tests to the wallet.py module.

Added tests to the wallet.py module, focusing on the NewWallet class (and by extension the Abstract and Deterministric wallet superclasses).

There is still some work to be done in the signatures/transactions area, but as they say, Rome wasn't built in a day.

As a side effect, this also increases test coverage of bitcoin.py.