Sms features for bug 838000 and 838002

changes to implement invoking contact dialog with ability to dial, create new contact and add contacts whenever a phone number is detected.
        Change 1: refactor contact dialog code from apps/communications/dialer/js/recent.js to a separate file contact_dialog.js, so that the same can be used both by dialer and sms. will do the dialer change separately.
        Change 2: use webactivity to invoke dialer, contacts from sms
        Change 3: created method to detect phone number in the message and attach event handler to invoke contact dialog
        Change 4: added unit test to detect different phone number formats.