Issue #89: backward scan coloredcoinlib

Add a recursive function to scan all matching inputs before computing the colorvalues.
Each input in turn needs to have the colorvalues of the matching inputs as well.
Merge pull request #90 from jimmysong/89

Issue #89: backward scan coloredcoinlib