Merge pull request #365 from akva2/fix_cjson

changed: cjson handling
fixed: compile cjson object into libopm-json

i see no reason to keep the separate library and this circumvents
shared vs static linking issues.

an alternative fix is to fix the opm buildsystems to prioritize config
mode. that would be more involved.