BUG: incorrect argument order to _copyto in in np.nanmax, np.nanmin
BLD: remove "-Wl,-framework,Python" from linker flags for Intel compiler.

The "-Wl,-undefined,dynamic_lookup" flag is enough to make things work
with OS X bundles.  On the mailing list an issue was reported with
Anaconda (non-framework build) where f2py was picking up the system framework
Python instead of the Anaconda one.

Thanks to Robert Kern for explaining how to fix this.
DOC: remove obsolete oldnumeric/numarray sections from reference guide.

Also fix a duplicate entry for numpy.testing due to incorrect
header underlining.
DOC: fix examples in f2py documentation.  They didn't appear at all in html.

Also fix example in testing that Sphinx saw as section header.
DOC: add NEPs overview to documentation.
DOC: fix reST formatting of npy-format NEP.
DOC: clean up docs in userguide for interfacing to compiled code a bit.

Add a link to f2py docs, which was missing.

[ci skip]
Merge pull request #4632 from rgommers/refguide-update

Doc update: NEPs, f2py examples and refguide section fix.
Merge pull request #4630 from rgommers/intel-noframework

BLD: remove "-Wl,-framework,Python" from linker flags for Intel compiler...
ENH: add a basic type fastpath to PyArray_CanCastTypeTo

improves small array performance by 5%-10%
Merge pull request #4635 from juliantaylor/cast-fastpath

ENH: add a basic type fastpath to PyArray_CanCastTypeTo
DEP: Deprecate numpy.rank

This function is commonly confused with numpy.linalg.matrix_rank
and exists itself only for history reasons.

Closes gh-4616
Merge branch 'gh-4618'

* gh-4618:
  DEP: Deprecate numpy.rank
Add tests using matrices
Merge pull request #4628 from mhvk/nanfunctions-copyto-call

BUG: incorrect argument order to _copyto in in np.nanmax, np.nanmin