Fix/upgrade ArrayAdapter indexing

Fix ArrayAdapter indexing for reversed slices, and add support for "fancy indexing".