Fix the test for numpy.ndindex()
Fix ndindex for 0-d arrays.
Fix the 0-d patch so it doesn't change the non 0-d iterator
Fix deprecation warning about __new__ taking no parameters

Fix deprecation warning by removing shape argument to new.