Add support for automatically applying changes

Should only be pulled in conjunction with https://github.com/xapi-project/xen-api-rpm-buildroot/pull/182