[MAT-180] Add int4 type
[MAT-433] Remove PrintTreeVisitor
[MAT-180] Attempt to replace all sizes with size_t

This involves those values not directly touched by the JVM.

Because all sizes of things are replaced with size_t, it is not
possible for negative sizes to be used any more - the code that
checks for this and the tests of this check are removed.

However, the fields holding sizes are signed in Java. To ensure
that the passing of sizes from Java to C++ is safe, we replace the
getIntFromVoidJMethod with getSizeTFromVoidJMethod that checks
that the received value is non-negative, before casting it to
size_t.

This should leave the remaining ints (at least in librdag) all
safe to convert to int4.
[MAT-180] Use int4 where appropriate
[MAT-180] Cleanup bindings types
[MAT-180] Correct int types in runners
Merge pull request #115 from OpenGamma/MAT-180

Use int4 and size_t where appropriate
[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
[MAT-407] Add missing JavaTerminal exception checks
[MAT-407] Fixes in response to PR comments

- Removal of obsolete FIXME
- JavaTerminal inherits from Uncopyable instead of deleting its
  copy assignment and constructor.
[MAT-407] Use unique_ptr to manage jint arrays
Merge pull request #117 from OpenGamma/MAT-407

Replace DispatchToOGTerminal with JavaTerminal and remove the visitor