Issue #13: Make a deterministic wallet

Now with a master key that controls the whole wallet.

Unfortunately, this means that there won't be imports of any other addresses.
However, given the single master key, this will now deterministically make
wallets of every color_set. We now only need to store the master key and the
number of addresses that exist for each asset.

This is, of course, massively convenient. The master key can also make a
cold wallet for colored coins possible. The cold wallet would need the colored
coin definitions and how many addresses of each color exist in order to
make it maximally convenient.
Issue #13: Added back the ability to import loose addresses
Issue #26: Subclass BlockchainState and grab raw transactions from electrum
           in case local bitcoind is not txindexed

This creates an EnhancedBlockchainState in electrum.py.

This necessarily uses blockchain.info to find the height of the txhash
since otherwise, we won't be able to look up any raw transactions in electrum.
Merge pull request #40 from jimmysong/13

Issue #13: Make a deterministic wallet
Merge pull request #41 from jimmysong/26

Issue #26: use electrum for get_raw_transaction
Merge branch 'txdb' of https://github.com/Ademan/ngcccbase

Conflicts:
	meat.py
	wallet_controller.py
	wallet_model.py
Issue #43: Bring python files into pep8 compliance

I've put everything except ecdsa into pep8 compliance,
changed a bunch of DOS newlines (\r\n) into unix newlines (\n).

The ecdsa looks like it's from another library so I left that as is.
Merge pull request #44 from jimmysong/43

Issue #43: Bring python files into pep8 compliance
p2ptrade update
deterministic address update
deterministic wallet improvements
Issue #43: additional pep8 compliance
Issue #46: Document .py files

I've started with just two, blockchain.py and console_interface.py.
Basically puts documentation into each class and method/function.

Also changed how ngccc.py works a bit as to make it a little more
pythonic.
Merge pull request #45 from jimmysong/43

Issue #43: additional pep8 compliance
Merge pull request #47 from jimmysong/46

46
Removing debug prints I left in by accident.