[MAT-355] Additional lapack templates.

[MAT-355] adding bad_alloc protection

[MAT-355] xgeev and QR functions added.

[MAT-355] rebase to get s/real16/real8/

[MAT-355] remove std namespace import, patch up.

[MAT-355] add xlange() test.

[MAT-355] tests for xgecon

[MAT-355] tests for xgetrs()

[MAT-355] tests for dgels()

[MAT-355] tests for xgelsd()

[MAT-355] tests for xgeev()

[MAT-355] tests for zgeev()

[MAT-355] tests for xgeqrf()

[MAT-355] tests for xxxgqr()

[MAT-355] remove defensive branches that xerbla() would catch anyway and that have no impact on mallocs

[MAT-355] unit tests to make sure xerbla fires correctly
[MAT-355] patch lapack to use int4
[MAT-355] remove tests on assumption that workspace queries return sane results
[MAT-355] respond to PR comments.
Merge pull request #116 from OpenGamma/MAT-355-squash-rebase

Mat 355
[MAT-407] Get rid of DispatchToOGTerminal

It is replaced with JavaTerminal, which does not use the visitor.
This removes the last use of the visitors.
[MAT-407] Delete Visitor