GF-6045: Update navigator.compass.getHeading to follow cordova standards

Enyo-DCO-1.1-Signed-off-by: Jason Robitaille <jason.robitaille@lge.com>