Suppress unused argument warnings.

Done with the (void) trick in a non-MPI block, since functions do use
their arguments in the MPI case.
Comment out unused argument.
Renamed i->j to avoid shadowing.
Merge pull request #79 from atgeirr/suppress-warnings

Suppress warnings
add compatibility to opm-parser
Export HAVE_DUNE_ISTL for other modules.

This is e.g. needed in the parallel version of autodiff to
test whether ISTL is there.
Search for MPI support

The build system depends on knowing if MPI is available.  Explicitly
search for MPI to honour that requirement.  Don't rely on ISTL's
transitive searching for the same.
add option to quell dune(-istl) warnings
Added more warnings to suppression list, sorted list.
Change option name and generated header names.
add support for the UG grid library

recently UG has become free software (yay!), so we can now support it
with a good conscience. The CMake module is based on the "UseUG.cmake"
module of dune-grid but it is quite a bit simpler and actually
works. (I cannot see how UseUG.cmake can work without ever including
the ug-config*.cmake files...)

the UG source code is available here:

https://github.com/ugfem/ug
Fix option name to match name in use in conditional.

Also add a useful doc string.
do not add the "-Wl,--as-needed" linker flag in FindSuiteSparse.cmake

because if umfpack is fully linked but some other library is
underlinked, it causes the build to fail. This flag is better dealt
with in the "UseOnlyNeeded.cmake" module...
make the "-Wl,--as-needed" flag optional

as there is not much harm done if it is not used but it may cause the
build to fail if it is present (read: it causes _my_ build to fail),
it defaults to OFF.
Make dune-cornerpoint a suggestion.
Merge pull request #82 from bska/sync-build

Synchronise build system with OPM-Core
Merge pull request #81 from andlaus/move_to_opm-parser

add compatibility to opm-parser
[bugfix] Fixes the return type of CentroidIterator::elemenetAt.

The method has to return the reference type of the iterator.
This is now done with this patch. Kudos to Bard for finding this.
Merge pull request #84 from blattms/cc_element_at

[bugfix] Fixes the return type of CentroidIterator::elemenetAt.
make it compile with clang

Basically that means avoiding cyclic class usages. This code makes
your head spin. Having said that, it only makes the current situation
quantitatively worse not qualitatively...