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