Implemented default fnObjectEquals function.
Implemented ArrayList_Contains.
ArrayList_IndexOf and ArrayList_LastIndexOf now use comparison function.
Merge pull request #2037 from akallabeth/array-list-compare

Implemented comparison functions for ArrayList