[MIE-805] - Accept arrays of functions in ActivityStreamFactory config for active and inactive callbacks; bind callbacks to snippets; fire callbacks based on active state; update documentation, unit tests, and demo page;
[MIe-805] - Rewrite callback handler to be more concise; adjust unit tests.
[MIE-805] - Change callback alerts to write events to unordered list on page; capture DOM ready and state toggle events to list as well.
[MIE-805] - Add utility function to handle receiving function references and/or arrays of references into a single array; Unpack callback functions into new array in Factory, send to Snippet init; configure Snippet to accept callback configs from Factory; update documentation and demo page; add tests.
[MIE-805] - Renaming generalTest on demo page
created utils test file
Merge pull request #5 from natgeo/feature/jl/mie-805

[MIE-805] - Accept arrays of functions in ActivityStreamFactory config f...