loadData() don't pass the error object to the callback any more.
Implemented submitArchivedEvents()
Updated submitStoredEvents() to accept an eventsByCategory and sessionInfo arguments.
Updated submitEvents() and bundleEvents() to accept the sessionInfo argument.