Merge pull request #1958 from kgaillot/fixes
Refactor: libcrmcommon: introduce new set of return codes