Move selectCoins(color) into bitcoin-js

Signed-off-by: Karel Tuma <karel.tuma@gmail.com>