[Reviewer: Alex] Add commit

Alex, can you review this change to use the new commit function?

This needs the corresponding cpp-common update before it can be merged - [cpp-common #122] (https://github.com/Metaswitch/cpp-common/pull/122)