remove talloc use from code that use dmconfig

The use of talloc in libdmconfig should not "bleed" through the API.
Mostly remove is and replace with libdmconfig specific wrappers.