Update CDVLocation.m

Made getLocation run in a different thread.