Add extendedVersion parameter to generateChartVersionFromGit function

extendedVersion parameter provides a possibility to extend non dev
version by commit sha suffix.
It is required for the multibranch repositories support where
"{last tag}-{number of commits since last tag}" can produce the same
result for multiple branches.

Related-To: PRODX-19509
Change-Id: Ic7dd47662bcbe9d59f3f1ea74aebaa826b12839c
1 file changed