properly handle dmconfig RC_xxx errors and mand DM_xxx errors

Move libdmconfig error result codes to range that does not conflict
with the mand DM_xxx error codes. Handle Dm and RC error properly
in mand dmconfig server.