XBuddy: Map base versions into fully qualified build version.

This uses LATEST-x.y.z markers in GS to map base version numbers (e.g.
6801.0.0) to fully qualified build versions including a release number
(e.g. R42-6801.0.0) for a given board. This is needed in order to fetch
SDK images corresponding to an SDK version, which does not include
a release number.

BUG=brillo:336
TEST=Unit tests.
TEST=Manual test with cros flash --project-sdk.

Change-Id: I59dd6294d52bbb4247e8c3c5066a5a2ff753508e
Reviewed-on: https://chromium-review.googlesource.com/251468
Trybot-Ready: Gilad Arnold <[email protected]>
Tested-by: Gilad Arnold <[email protected]>
Reviewed-by: Chris Sosa <[email protected]>
Commit-Queue: Gilad Arnold <[email protected]>
Reviewed-by: Don Garrett <[email protected]>
3 files changed