make --patch-id optional for rollback (when it's absent the last applied patch is rolled back), remove optional --keep-configuration and add required --reset-configuration=true|false instead (if --reset-configuration=false then a new restored-configuration dir will be created in each config dir containing the original, i.e. restored, config files).
use a lighter standalone configuration for patching tests
resolve patch metadata based on the identity name and version
fail on wrong copied hashes