fixed kxArray.cast to cast objects into an Array and cast null and undefined to an empty Array
fixed kxArray.contains, now comparing objects (and their contents) too
added test for kxArray