Make changes in dnf_context_reset_modules permanent
Make changes in dnf_context_reset_modules permanent

It saves modular changes and updates failsafe data. The function now
does not require successful transaction after calling.

hughsie/libhif,hughsie/libhif,rpm-software-management/libhif,rpm-software-management/libhif,hughsie/libhif,hughsie/libhif,rpm-software-management/libdnf,rpm-software-management/libdnf,rpm-software-management/libdnf,rpm-software-management/libhif,rpm-software-management/libhif,rpm-software-management/libdnf