Refactor settings

fixes https://github.com/bitpay/copay/issues/1113
fixes https://github.com/bitpay/copay/issues/1203
fixes https://github.com/bitpay/copay/issues/1290
fixes https://github.com/bitpay/copay/issues/1208

indexOf('https') == 0