Do not rewrite configs if content is identical.

This would first read old content of XCConfigs and compare it to the current one, to prevent unnecessary writing.

I kinda hate the spec for it, because it takes a second. Ideas for a better spec?