Fix for error in 'getbalance' when using watchonly addresses/scripts.

Also added a warning to 'importaddress'

This bug can result in too much watchonly balance being returned by the getbalance RPC call.