Factor out the shortlog generation code and templates

Change-Id: Ibf98fce0669fb47c142c421fa9a371ea02b6cbf0
3 files changed