USERGRID-2827: cleaned up pause/resume; made consistent with iOS; fixed ...

...functionality so that it works.