Add a string constructor to VersionNumber

I feel this is more natural than `convert(VersionNumber, mystring)`, but maybe there was a design reason behind this
Merge pull request #7493 from IainNZ/patch-11

Add a string constructor to VersionNumber