Allocate sufficiently large storage arrays for endpoints

This fixes an index-out-of-bounds error reported in PR #93.
Merge pull request #95 from bska/allocate-endpoint-arrays

Allocate sufficiently large storage arrays for endpoints. Merging this as it is a fix for a critical bug.
Added funtions for upscaling net porosity and NTG in UpscalerBase
Added upscaling of NTG and net porosoty in cpchop
Added forgotten if on NTG output
Allow static linking for SuiteSparse to be forced

If -DSUITESPARSE_USE_STATIC=ON, then the build system will only look for
static versions of the libraries that are part of SuiteSparse, even if
dynamic/shared versions are present on the system. Thus, the default of
preferring dynamic libraries can be overridden.

SuiteSparse is rarely built ourselves, but still uncommon enough to not
be present on computing clusters.

This patch allows us to install the libraries on a workstation, for
instance from package suitesparse-devel and link to it statically
without having to maintain our own build tree.
Merge branch '096_cmake'

Synchronise build system with opm-core
Merged OPM/opm-upscaling/examples/cpchop.cpp with master