Use target path for executable

By using this form of the add_test() statement, CMake will automatically
fill in the path of the generated executable instead of letting this be
coded coincidentally the same as the target here.

Note that this does *not* create a dependency between the test and the
target -- it is simply assumed to already exist.
Build executables before running tests

Make sure that the executables are in place before running the tests,
so that it suffices to just run `make check` to build and test.

For the "tests" target to be created, we must call this auxiliary
module after OpmLibMain has setup its satellites.
Merge pull request #73 from rolk/073_check

`make check` behaves different from `make ; make check`
require opm-core from the opm-material module

this is required to use the exception code of opm-core in
opm-material. Also, the Dune prerequisites of opm-material can be
removed once PR #345 is merged into opm-core...
remove unused files 'fmatrixev_ext.{cc,hh}' and 'upscaling.hh'
make all headers independently includable
fix fallout from dune's GenericReferenceElement -> ReferenceElement renaming
Merge pull request #75 from andlaus/fix_headers

make the headers independently includable
operatorapplier: add support for post/pre which is required by preconditioners

just a dummy empty wrapper for linear operators
changed: make the matrixops helpers a normal c++ class

no templating going on here, no reason to keep it header only
added: tests for upscale_elasticity
Merge pull request #77 from akva2/simple_changes

Some small changes
added: OpenMP support
added: allow switching between fastamg and amg through template param
changed: use the dynmatrix helpers from upstream (now in dune-common)
added: checker-board uniform mesh if given a rocklist with > 1 materials

useful for tests
testing schwarz as smoother
changed: drop seqlu in favor of new upstream template InverseOperator2Preconditioner
added: allow switching AMG smoothers from commandline
modernize pointer handling

use shared_ptr instead of manual delete's