Add new commit API and deprecate older commit method

Added new commit method that accepts an sdbusplus exception
Deprecate commit which accepts an exception name

Change-Id: I9b5c91eb13466eb576c329ebb7fd00ce33f7dd9f
Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
4 files changed