USERGRID-2827: cleaned up pause/resume; made consistent with iOS; fixed functionality so that it works.
Merge pull request #18 from apigee/usergrid-2827

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