Issue #79: Fix new color issuance

Changed get_previous_blockhash to get_previous_blockinfo
Added sanity check for height so we don't get in an infinite loop
Fixed a couple of dumb errors I made in colordef.py
Merge pull request #80 from jimmysong/79

Issue #79: Fix new color issuance