Add component.json, for component.io usage
Export ColorThief class on modules.export, if present
Fix variable leak
TEMP: use jonnor/color-thief in component.json while pull request is pending