Corrections as a result of writing an integration test.

Also made btcd_test.go use table-driven tests and use constants like ifoc_test.
Also added a function to color.go for easily getting the color value at any outpoint.

This closes #9
Removed ColorId

This closes #11
Merge pull request #12 from jimmysong/11

Remove ColorId