Added blockchain.go and blockchain_test.go. These are using btcrpcclient to access blockchain info in btcd.