Refactor ImmutableArray compat into its own file.
Add some tests for #asObject.
Make #asObject pass current index to its iterator function.
Add a test for calling #asObject with no arguments.
Bump version to 0.6.0 for asObject iterator upgrade.