ENH: copy ndarrays if they are encountered in setArrayFromSequence

By avoiding the elementwise copy array([a,b,c]) is now as
fast as vstack([a,b,c])
MAINT: make loggam static in random kit
BUG: PyArray_SelectkindConverter should be in conversion_utils.h.

Also include numpy/ndarraytypes.h, although this seems not needed in
practice.
Merge pull request #3709 from charris/update-conversion_utils_h

BUG: PyArray_SelectkindConverter should be in conversion_utils.h.
Merge pull request #3696 from juliantaylor/copy-array-create

ENH: copy ndarrays if they are encountered in setArrayFromSequence
Merge pull request #3715 from seberg/ndindex-0size

BUG: Fix 0-sized ndindex
MAINT: Refactor test_xerbla to hide printed error messages.

Combine the xerbla override tests with the previous _is_xerbla_safe
decorator. The xerbla checks are then made in a forked process where the
outputs are closed so that if xerbla prints a message it does not
appear.

It would be nice to figure out a Windows version of this test.

Closes #3704. Closes #3687.
Merge pull request #3720 from charris/refactor-test_xerbla

MAINT: Refactor test_xerbla to hide printed error messages.
BUG: ensure raising of invalid on bad complex powers

put inf - inf into a volatile variable so it is not optimized away by
compilers.
BUG: fix bad alignment asserts

if the arrays are smaller than a vector they don't need to be aligned.
Merge pull request #3726 from juliantaylor/dbg-fixes

Dbg fixes
MAINT: Make the qr raw mode test independent of the LAPACK library.

The qr factorization is not unique and the values returned by the raw
mode may differ between LAPACK versions. Consequently, the results
cannot be checked against known values.

Closes #3703.
BUG: f2py, fix decref on wrong object

missing brackets causes decref on an wrong object.
shows itself as abort with negative refcount in test_callback using
python-dbg.
Merge pull request #3728 from juliantaylor/f2py-negative-refcount

BUG: f2py, fix decref on wrong object
Merge pull request #3723 from charris/workaround-dgeqrf-bug

MAINT: Make the qr raw mode test independent of the LAPACK library.
BUG: fix zero initialization with subarray dtypes

closes #3724
Merge pull request #3725 from juliantaylor/fix-subarray-zeros

BUG: fix zero initialization with subarray dtypes
DOC: Make savez_compressed show up in the documentation.

Closes #3708.
Merge pull request #3736 from charris/add-savez_compressed-to-docs

DOC: Make savez_compressed show up in the documentation.
ENH: Add dtype parameter to linspace and logspace functions.

Many NumPy functions such as arange allow users to define the dtype of the
returned type with a dtype parameter.  This adds this same functionality
to the logspace and linspace functions.