validate num cpus to not overcommit resources in a kvm

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>
Merge pull request #31 from battlemidget/patch-valid-num-cpus

Patch valid num cpus