Fixed publishDataChangeEvent in 2phase commit

Modified publishDataChangeEvenet to work asynchronously in TwoPhaseCommit

Change-Id: Ifbbbd03a9eec309093c69d36791c9ddc330bd584
Signed-off-by: Lukas Sedlak <lsedlak@cisco.com>
Merge "Fixed publishDataChangeEvent in 2phase commit"