getVersion: add utility to get version of buildbot or plugins

This will be usefull for out of tree plugins

Signed-off-by: Pierre Tardy <pierre.tardy@intel.com>