Added test for replace keyword functionality
Merge pull request #32 from joakim-hove/reload-keyword

Added test for replace keyword functionality
Added (empty) TimeMap class
Added basic functionality to assemble a timeMap
Add missing header for function used inline in class
Don't use prof. guided opt. and auto. par. in Clang

Clang compilers doesn't support the -pg (profile-guided optimization)
or -fopenmp (automatic parallelization) switches, so those should only
be included conditionally.
Link Boost dynamically if we are building shared

The static Boost libraries are not built with -fPIC, so it cannot be
linked into a shared object anyway. This is also how the Linux distros
want it.
Generate main function if linking dynamically

Unit tests must have their main function generated by the Boost::Unit
headers if we are linking dynamically because it is not in the shared
objects.
Compare size with unsigned int literal

Surprisingly, some compilers (notably GCC 4.6.3) will issue a warning
when comparing a literal which is clearly positive to an unsigned type,
when looking for a suitable instantiation in Boost. This is fixed by
making the literal unsigned too, so there's no doubt.
Raise error if module is required but not found

Otherwise the error will just be silently ignored.
Search for library in proper build directory

The library will end up in the opm/json library in a build tree; we
want to be able to point the CJSON_ROOT variable to the root of the
build tree and have it pick up the libraries from there.
Search for build tree relative to this project

The CMake script is run in the source tree. We assume a certain
directory layout and that the cjson is available in a sibling
directory of this project. Thus, we can pick up a build tree without
having the library installed.
Use math library as a prerequisite (on Linux)

It is needed for pow() and floor() functions.
Look in lib64/ for x86_64 libs on RHEL(-like) distro
Set plural form of header dir. var.

Even though we only look for one directory, the convention is to always
have the full set of prerequisites in the plural form.
Correct documentation typo
Provide find module for OPM Parser library

Searches for headers and objects of the library as well as finding
the prerequisites (Boost and CJSON) necessary to link a program.
Define uppercase variant when testing for existence

CMake will do some uppercasing of its own (defining OPM-PARSER_FOUND)
so it works best if we specify the correct uppercase version and sets
the lowercase afterwards.
Define uppercase version of found-variable

It doesn't really matter here because "cjson" is only letters, but as
a general rule we define the uppercase variant ourselves so that CMake
doesn't use its own (bizarre) case rules, and then set the lower case
explicitly afterwards.
Include standard CMake module to get error handling