Use distutil version classes

Instead of using our own version comparision
and extraction just use the distutils provided
one instead. This will allow us to associate
and compare task versions with a slightly less
hand-crafted algorithm.

Change-Id: Ieedab787cbc9e2217d5c4d75d59c0699ec6a0b29