Multithreading stuff

i have been tasked by @alfbr to multithread cpchop.

these were the issues i encountered in opm-core. i do not expect any of these to land as-is, but i need to start the discussion.