BUG: fix NPY_NO_DEPRECATED_API mechanism.
Merge pull request #3024 from rgommers/fix-api-deprecation

BUG: fix NPY_NO_DEPRECATED_API mechanism.
Travis: record some basic information about the build platform

The question has come up sometimes about how much memory etc. we have available for Travis builds. Let's just log the relevant resource limits at the top of every build log.
Merge pull request #3109 from njsmith/travis-check-sys-info

Travis: record some basic information about the build platform
Add texinfo build target for document
Rebase and merge pull request #330.

  Add texinfo build target for document
ENH: Skip already applied fixers when running 2to3.

This is done in `tools/py3tool.py` by providing a list of fixers that
is passed in the call to 2to3 with with the `-x` option that tells
2to3 to skip them.

Closes #3113
Merge pull request #3115 from charris/2to3-skip-fixers

ENH: Skip already applied fixers when running 2to3.
BUG: fix random.choice scalar object result and disallow 0-d arrays

Object arrays failed due to bad check for finding out if the result should
be a scalar type and not an array when size=None. Also in this case the
creation of the new array was wrong. This should be fixed with this.

The second fix is to forbid 0-d arrays. Allowing 0-d arrays does not
make much sense. But it is dangerous because for example floats will
be interpreted as 1-d arrays, while one may expect that they are interpreted
as integers. This also saves the trouble of reliably detecting all integers...
MAINT: regenerate mtrand.c
Merge pull request #2992 from seberg/choice-object-scalar

BUG: fix random.choice scalar object result and disallow 0-d arrays