add get_version method

Add a method to get the Jenkins server (or master) version

Signed-off-by: Antoine Musso <hashar@free.fr>
Change-Id: I9bbcf5fd1615246e53a9d83fec9d0c93c64b15aa