Array.indexOf/lastIndexOf (closes #1242)

This requires the hxcpp pull request to be merged. Unit tests are ok. I also tested the JS target with plain HxOverrides (no Array.indexOf case).