Removing blackberry.system.hasPermission function as it is no longer necessary