Switch page ping code to use arrays of events (close #46)
Switch page ping code to use arrays of events (close #46)

This is a minor improvement on file size and structure.

snowplow/snowplow-javascript-tracker,snowplow/snowplow-javascript-tracker,snowplow/snowplow-javascript-tracker,snowplow/snowplow-javascript-tracker