Merge pull request #90 from jimmysong/89

Issue #89: backward scan coloredcoinlib
Issue #87: fix bug with bitcoin transfer