List files that are needed to build the library

This list will be picked up by the modules at a later commit.
Specify source files explicitly rather than with glob
Various improvements in the build process

Allow uppercase alternatives, fix whitespace bug, allow empty pre-
compiled header, find OpenMP
Only regenerate config var file if actually changed
Remove make execution wrapper
Merge pull request #28 from rolk/028_cmakeupd

Update CMake scripts to commit 11bf7bf3 from opm-core
Remove unused variable from example

The value set to this variable is never used, not even in comments
describing what one could do with it. Thus, it has no value as an
example. I want remove it to avoid the unnecessary warning when
compiling the project (currently the only one).
Merge pull request #29 from rolk/029_zerosatnumcells

Remove unused variable from example
Ignore generated class doc. when building in-tree
Merge pull request #30 from rolk/030_gitignore

Ignore generated class doc. when building in-tree
Expand tilde used in command-line arguments

This enables one to specify e.g. --with-opm-core=~/opm/bld/opm-core
Use config mode if possible when finding packages
Handle ERT not found condition gracefully

If the files for ERT is not found, then the find module cheats and
indicates that it didn't compile either (since there are some later
tests for HAVE_ERT).

However, erraneously, it gave this variable the value 0, which tests
for false in the CMake code but not in the #ifdef checks in the C++
code. This error is cancelled in opm-core by the fact that it didn't
store it as a cache variable, but resurfaced in opm-polymer when it
probes the second time (as both opm-core as a dependency and
opm-polymer itself declare a dependency on ERT).

It is now stored in a way that should be satisfactory to both
projects.
Enable dunecontrol to use a build tree as module dir

dunecontrol looks for a dune.module to determine whether a directory
contains a module or not. By copying this file to the build tree, we
can use (out-of-source!) build trees in dunecontrol too.
Only warn for unknown --enable/--with options

Follow the guidelines in
<http://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.69/
html_node/Option-Checking.html#Option-Checking>
and print a *warning* if there is an unknown --enable-* or --with-*
option, error otherwise. --disable-option-checking does not turn off the
errors, but silences the warnings.
Allow variables and options in any order

Traditionally, options are put before any other command-line arguments.
However, dunecontrol puts variable assignment before options, like env,
and this confuses getopt.

This variant (based on a suggestion by Andreas Lauser) collects the
variables into an array at the same time as the options are processed.
Only make actual directory names canonical

If the directory that is specified does not exist, then keep the path
as entered, which makes for better error messages later.

We cannot print an warning on a non-existent name, because it may be
target directories that are specified, or perhaps logical options
(like --with-mpi=yes)
Determine that ERT is not found, faster

Instead of checking every pre-requisite and then determine if the
library is functional, quickly check if the library directories are
present, and if not bail out. The most common reason that ERT is
not usuable, is that it is installed, not that something else is
missing!
Bugfix wrong variable used

But since it added the option anyway, this was hard to catch (unless
one was trying to set both options at the same time)
Disable use of OpenMP by default

If support for OpenMP should be added, it must be specified by
setting an option. If not, then warnings for unknown pragmas are
disabled, so that the code can have #pragma omp witout getting
messages during build.