Changed CoinSelector to return Coins interface instead of concrete type

Also added a targetValue test to ensure that coins returned total at
least targetValue when successful.