fixed archiving
reordered dispatch calls for app entering background
did appropriate error handling for file removal
removed calls to archive on batchComplete
Surveys must be requested by People ID, rather than Events ID in case the two happen to be different.
queues are copied before being archived to avoid a crash during the actual archive operation
removed batchCompleteCallback
Merge branch 'master' into newstex/master
Merge branch 'pull-requests/surveys-by-people-id' into newstex/master