Small refactoring in utils/eventConstants.
Added is.exists.
Created the 'collection' set of tools, and moved all array and object iteration functions to it, and made them work on either.