Add Localytics start/stop events

[Localytics' documentation](http://www.localytics.com/docs/sdks-integration-guides/?p=ios) recommends manually sending `resume`, `close`, and `upload` calls when certain application events occur (entering foreground, transitioning to background, app terminating, etc).

I've noticed that my app, using  ARAnalytics, delays sending (or doesn't send!) data to Localytics without these manual calls. So I added them. :)

Thanks again for a great project.