API: Deprecation warning for ndarray.__index__ if ndarray is not 0-d

The reasoning behind this is, that while int(...) which is very forgiving
and allows things like int('10'), the index machinery should not be quite
as forgiving. Deprecating this means that np.array([[2]]) cannot be used
to index lists. It would rather behave like a floating point number.