Require opm parser

With this PR opm-core will depend on opm-parser. No changes to the opm-core code, but a test is added.