Added Array.equals and updated Array.contains

Also updated optionsInit function. added deepSearch option to
Array.contains. Added CaseTester file for regression testing.