Expand variables in commit message

This PR allows to use variable expansion in commit message.