Add some new commit functions

New commit functions: message-encoding commit-time commit-time-offset