[MAESTRO-3819] Support grabbing history from multiple commits

Basically, if this is 1st run of composition, will use 'git log -1', otherwise will use 'git log ...' to get log lines and pull ticket ids