core: support local version string

this will enable to support downstream specific versions regardless of
upstream package version.

Change-Id: I2f876b59ead88eecaa75ae586af04187f86423d1
Signed-off-by: Alon Bar-Lev <alonbl@redhat.com>