updateversionnumbers: improved support for product versions

Change-Id: Ieea03c899a12f10219257062f38c3a4b8d295953
Reviewed-on: http://gerrit.esdi-community.eu/3154
Tested-by: Jenkins <sitemple@igd.fraunhofer.de>
Reviewed-by: Simon Templer <simon.templer@igd.fraunhofer.de>