* Unify version checking code into version.go * Make 'version' available as a job in the engine * Use simplified version checking code when setting user agent for registry client.