core: support local version string

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

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