FIX: wrong function types in ufunc_object.c

assign_reduce_identity_{zero,one} were treated as
PyArray_AssignReduceIdentityFunc, but that type has
an extra void* argument. Added the argument.
FIX: remove unused variables and add casts

Makes the build complete with fewer warnings.
MAINT: ignore some more generated C files.
Merge pull request #3653 from larsmans/c-fixes

FIX: call through wrong function pointer type + minor stuff
DEP, MAINT: Remove references to numeric and numarray.

This covers those locations that either import or build numarray
or numeric.
DEP, MAINT: Copy info function from numarray.

The numarray info function is called by lib.utils.info. Rename it
to _info and copy into lib/utils.py. Some modifications are made
as it only needs to support numpy.
DEP, DOC: Undocument numarray and numeric.

Mention that they were removed in 1.9.0.
DEP, DOC: Document removal of oldnumeric and numarray in release notes.
DEP: Remove deprecated modules numarray and oldnumeric.

They were deprecated in 1.8 and scheduled for removal in 1.9.

Closes #3637.