array: support ipairs iteration over elements.

* specs/array_spec.yaml (__ipairs): Specify behaviour of ipairs
with arrays.
* lib/std/array.lua (core_metatable.__ipairs)
(alien_metatable.__ipairs): Implement ipairs support for table
and alien.buffer managed table elements.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>