(last)indexOfNeither(index)

faster

merged indexOfAnyImpl with indexOfNeitherImpl and fixed a bug
Merge pull request #1977 from burner/last_indexOfNone_index

last_indexOfNone_index