Bug 836215 - PhoneNumberJS: shamelessly copy of isViablePhoneNumber() from upstream