Added version parsing

This allows version completions to sort the results correctly.