Merge pull request #1 from christocracy/android

Android
Refactor to callback into javascript during sync.  Implement standard location services for background when detected to be moving, significant-changes api when stopped
Revert "Refactor to callback into javascript during sync.  Implement standard location services for background when detected to be moving, significant-changes api when stopped"

This reverts commit e0ec782d9646adc5df90699063d84d6f762ae29c.
Refactor ios to be more intelligent with geolocation, turning on more aggressive standard location services wehn user is detected to be moving beyond a configurable radius
Merge branch 'refactor'
Tweaking for improved battery life
If BackgroundGEoLOcation is started while already in backgroudn, execute setPace immediately in order to initiate region-monitoring
Implement an NSTimer to ensure we end our background-task.  Been getting app crashes referencing background job running beyond its permitted time
setPace to current value of isMoving rather than hard-coded NO
Use Cordova runInBackground
Improved thread-mgmt to prevent crashes
Use pluginInitialize method instead
Remove dispatch_async stuff in ending bgTask
remove comment
Introduce setter-methods for distanceFilter, stationaryRadius.  ignore calls to updateCurrentLocation when there already exists a bgTask
Docs
Docs
add WAKE_LOCK permission
Make desiredAccuracy configurable
Add setConfig method to allow modification of geolocation params in real-time