Create the configuration file for a new persistent domain.
The returned domain will initially be in the shutoff state.
a Connection on which to create the domain
the configuration for the new domain
the newly created domain, or NULL if an error occurred. The returned object should be unreffed with unref when no longer needed.