Fixed crash when passing a number in getContact
Fixes blackberry/BB10-WebWorks-Framework#511

Reviewed By: Rosa Tse <rtse@rim.com>
Tested By: Tracy Li <tli@rim.com>