commit: Add call to Synchronize journal dbus method

Call the Synchronize method at the beginning of the Commit
function to request that all pending messages are written into
the journal.

Fixes: openbmc/openbmc#1297

Change-Id: Id0ab04ff0cb9b7eeac3b7c2aaeb8730a3b4ed524
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
1 file changed