New array functions and test suite

* array_device_index()
* array_integer_index()
* array_double_index()
* array_string_index()