fix #4032
probably fix #3999
fix #3081
Patch dlasd4 and slasd4 as discussed in #2340.
openblas no longer depends on LAPACK download, as it is included within.
Fix the dlasd4 patch from earlier commit.
Match Octave/Numpy's minimum RWORK size for gesdd. Fixes #4016

gesdd's RWORK size was recently changed to match the netlib header.
However, the minimum size calculated results in a segfault.  Both
Octave and Numpy use a different minimum size, and testing verified
that anything smaller than this leads to a segfault.

Numpy: https://github.com/numpy/numpy/blob/master/numpy/linalg/umath_linalg.c.src#L2922
Octave: http://hg.savannah.gnu.org/hgweb/octave/file/2f1729cae08f/liboctave/numeric/CmplxSVD.cc#l184
Merge branch 'master' of https://github.com/JuliaLang/julia
Replace b = a*a with A_mul_B(b, a, a).

As discussed on julia-dev, the prior version is largely a GC test, since it
allocates memory for the result on each iteration. This version more directly
tests the BLAS library.
Merge pull request #4045 from blakejohnson/matmultest

Replace b = a*a with A_mul_B(b, a, a) in BLAS level3 perf test.
use pairwise summation for sum, cumsum, and cumprod
use pairwise summation for mean, var, varm; also fix bug in var for complex arrays (should use absolute value and return a real number)