[TIMOB-11178]Implementation for Autopause API.

__Testing Instruction__

 ** Make an app with the following code [app.js](https://jira.appcelerator.org/browse/TIMOB-11178?focusedCommentId=222599&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-222599)
** add location into the backgroundmodes in tiapp.xml

```javascript
<ios>
<plist>
<dict>
  <key>UIBackgroundModes</key>
  <array>
    <string>location</string>
  </array>
</dict>
</plist>
</ios>
```

** By default i have set the autopause to be false.

__TEST 1__
** Put the app in background .
** Move around for a bit and ensure you receive location update
** Now put the phone on the table and leave it for a while(say 20-30 to be sure) 
** Verify that location update __paused is not__ fired.

__TEST 2__

** Open the same app.
** Switch the puaseLocationUpdatesAutomatically to true(0N)
** Put the app in background.
** Move around for a bit and ensure you receive location update
** Now put the phone on the table and leave it for a while(say 20-30 to be sure).
** Verify that location update __paused__ __is__  fired.
** Once the location paused event is fired. Now open the app and move around.
** Ensure that the location update resumed event is fired and the app continues to receive location updates.

If there is any confusion while testing let me know.