Bug 859719 - [Dialer] Follow up to bug 835750 - Validate the numbers that are passed to the RIL to dial.

The code included in the patch to bug 835750 is not correct regarding the isValid() function in telephony_helper.js. The case where the match() function of the String object returns null is not properly dealt. Instead, Antonio suggests using the RegExp.test() function.