Modified group aggregrator to only pull 'levelEnd' records -- fixed success response

# Changes #

### cloud/main.js ###
- Added counter for each group iteration so that response.success() is only called after all groups have successfully been totaled/saved.
- Added additional requirements to events query - only events that are of type **levelEnd**.