Teuchos::LAPACK: Added GEQR2, ORM2R, and UNM2R methods.

GEQR2 wraps {S,D,C,Z}GEQR2, the BLAS 2 panel factorization for _GEQRF.
ORM2R wraps {S,D}ORM2R, which "multiplies a general matrix by the
orthogonal matrix from a QR factorization determined by _GEQRF
(unblocked algorithm)."  UNM2R wraps {C,Z}UNM2R, which "multiplies a
general matrix by the unitary matrix from a QR factorization
determined by _GEQRF (unblocked algorithm)."

I've added these methods to LAPACK to facilitate moving TSQR out of
the (soon to be deprecated and removed) KokkosClassic subpackage, into
its own subpackage.  TSQR currently uses its own LAPACK wrapper.  If
TSQR can use Teuchos::LAPACK instead, that will simplify the CMake
logic as well.  (In a few more commits, I'll be able to eliminate the
CMake logic relating to detection of e.g., DLARFGP vs. DLARFP
vs. DLARFG.  This will make configuration for Intel Xeon Phi much less
messy.)
KokkosClassic: Refreshed and simplified TSQR code a bit.

The plan is to migrate TSQR out of KokkosClassic into its own
subpackage.  This is just a start.
KokkosClassic: TSQR now uses Teuchos::LAPACK.

The TSQR implementation in KokosClassic now uses Teuchos::LAPACK
instead of TSQR::LAPACK.  This change will facilitate migration of
TSQR out of the soon-to-be-removed KokkosClassic into its own
subpackage.  Both NodeTSQR and DistTSQR build and pass tests.
KokkosClassic: TSQR now uses Teuchos::BLAS.

The TSQR implementation in KokosClassic now uses Teuchos::BLAS instead
of TSQR::BLAS.  This change will facilitate migration of TSQR out of
the soon-to-be-removed KokkosClassic into its own subpackage.  Both
NodeTSQR and DistTSQR build and pass tests.
KokkosClassic: Removed TSQR-specific CMake config for BLAS & LAPACK.

TSQR used to have a lot of CMake checks for the existence of specific
LAPACK routines.  This is because TSQR prefers QR factorizations that
produce an R factor with a nonnegative diagonal.  That generated a lot
of superfluous output at Trilinos configure time, for no good reason.
This commit removes all of those tests, and also removes TSQR's own
BLAS and LAPACK wrappers.  TSQR now relies on Teuchos' BLAS and LAPACK
wrappers.

This commit also removes CMake support for the Fortran 9x version of
TSQR's combine kernels (wrapped by TSQR::CombineFortran).  If we want
to generalize TSQR to support arbitrary array layouts (e.g., both
row-major and column-major), we'll have to use Kokkos::View in C++.
I've left the Fortran 9x kernels in place in case we want to
experiment with them later.

NOTE: If we want to support arbitrary array layouts, we may need
limited BLAS and LAPACK support for that.  This may imply hand-rolled
kernels.

NOTE: For computing an R factor with a nonnegative diagonal, we prefer
the run-time approach of testing whether the diagonal satisfies the
requirement, and if not, scaling it.  This can be done on each MPI
process independently, assuming that the signs are the same on all
processes.  If the signs are _not_ the same, it's likely that the
corresponding diagonal entries are close to zero anyway; we defer
considering the numerical analysis implications.

Build/Test Cases Summary
Enabled Packages: Tpetra, Belos, Anasazi
Disabled Packages: FEI,Moertel,MOOCHO,NOX,Rythmos,STK
0) MPI_DEBUG => passed: passed=224,notpassed=0 (14.58 min)
1) SERIAL_RELEASE => passed: passed=205,notpassed=0 (13.11 min)
Other local commits for this build/test group: d051894, 108e399, ef25302, 89cd24a
MueLu: move MapTransferFactory to xml input deck
MueLu: bugfix for typo preventing compilation (introduced in 1560cc5efaf96ac916)
[MueLu] uncaught exceptions

Build/Test Cases Summary
Enabled Packages: TriKota, Belos, MueLu, Piro
Disabled Packages: Ifpack,Ifpack2,Intrepid,ML,MOOCHO,NOX,Pamgen,Rythmos,Stratimikos
Enabled all Forward Packages
0) MPI_DEBUG => passed: passed=139,notpassed=0 (22.06 min)
1) SERIAL_RELEASE => passed: passed=115,notpassed=0 (5.46 min)
MueLu: hide blocked operators in MueLu.
MueLu: fixing warnings
MueLu: 2nd fix for TwoBillion.xml

Was too hasty in my last commit.

Build/Test Cases Summary
Enabled Packages: MueLu
Enabled all Forward Packages
0) MPI_DEBUG => Test case MPI_DEBUG was not run! => Does not affect push readiness! (-1.00 min)
1) SERIAL_RELEASE => Test case SERIAL_RELEASE was not run! => Does not affect push readiness! (-1.00 min)
2) MPI_SS_DEBUG => passed: passed=151,notpassed=0 (7.66 min)
Other local commits for this build/test group: 2dcab69, ce4b51f
Fixing possible memory leak in uns_inline decomp.
Fixing unterminated string in pamgen_test_driver...
Fixing use of freed memory in getopts.C
Fixing memory leaks on error conditions in inline_mesh_driver_lt.C

These were detected by Nicos Schlomer's scan of Trilinos on coverity.com
Changing variable used to offset into arry to be unsigned.
Prevents negative array index.
KokkosClassic: More work to expedite porting TSQR to use new Kokkos.

  1. All typedefs to MatView<LO,S> are now always called
     mat_view_type, and all typedefs to ConstMatView<LO,S> are now
     always called const_mat_view_type.

  2. Replaced nonmember template function matrixCopy with deep_copy
     (still a nonmember template function, just like the one in
     KokkosCore).

  2. Removed copy() instance method from MatView, ConstMatView, and
     Matrix.  Replaced all calls to that method with calls to
     deep_copy.
KokkosClassic: TSQR::Matrix::operator== now does a shallow comparison.

It used to do a deep comparison, that is, compare all the entries.
This differed from operator== in TSQR::MatView and TSQR::MatView.
Making them all consistent and consistently shallow will help porting
TSQR to use new Kokkos.

Build/Test Cases Summary
Enabled Packages: KokkosClassic, Tpetra, Belos, Anasazi
Disabled Packages: FEI,Moertel,MOOCHO,NOX,Rythmos,STK
0) MPI_DEBUG => passed: passed=243,notpassed=0 (10.46 min)
1) SERIAL_RELEASE => passed: passed=222,notpassed=0 (7.57 min)
Other local commits for this build/test group: 4fe64ba
Panzer: Updated constructor to have more consistent input parameters

Basically it has a defualt
Panzer: Adding "Zero" initial condition options

In support of adjoint calculations
Rythmos: Removing some unused typedefs
STKClassic: Removing unused typedefs
Merge branch 'master' of software:/space/git/Trilinos