Apply CIB changes using patch method

Generate XML diff patch and apply it.

1) generate config changes in shadow
2) generate diff only for specific scope
3) apply it

This will not touch cluster attributes and
other stuff it should not touch, thus not
breaking functionality of OCF scripts using
CIB attributes.

Change-Id: Ibcfaa82707d1aed01b79c8307d17f4e71fd60906
Closes-bug: #1338594