Relax the kernel version string format.

It now parses versions like major.minor-* as used by some VMs.
Merge pull request #393 from rjnagal/cpu

Relax regex for kernel version string format in validator.