ENH: disable OpenBLAS affinity settings

OpenBLAS starts as many threads as it can and assigns them to cpus
This includes the main thread Python is running in.
This means any threads or processes Python starts must all share this
cpu, nullifying any parallization efforts.
Luckily this behaviour can be disabled via an environment variable which
we need to set before loading dotblas which may be linked to OpenBLAS.
Libraries loading BLAS before numpy are stills screwed.
fixed bad signature in docstring for uniform()
BUG: Fix lack of NULL check in array_richcompare.

The lack of this check led to a segfault.

Closes #4613.
Merge pull request #4611 from gdementen/patch-1

fixed bad signature in docstring for uniform()
Merge pull request #4614 from charris/fix-gh-4613

BUG: Fix lack of NULL check in array_richcompare.
Revert line from #4585 to get mask, data shapes to match in .flat
Merge pull request #4615 from mhvk/ma/matrix-flat-redo-shape

Revert line from #4585 to get mask, data shapes to match in .flat
arrays.indexing.rst
updated for None-npnewaxis alias comment
BUG: incorrect argument order to _copyto in in np.nanmax, np.nanmin
Merge pull request #4621 from jess010/newaxis-doc

update arrays.indexing.rst for 'newaxis' description
Fixed typo in the docstrings of np.all() and np.any()
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.
Merge pull request #4629 from chatcannon/any_all_typo

Fixed typo in the docstrings of np.all() and np.any()
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.