Scanner.scanYAMLDirectiveValueToSlice
void scanYAMLDirectiveValueToSlice(ref char[] slice, const Mark startMark) @safeScan value of a YAML directive token. Returns major, minor version separated by '.'.
Assumes that the caller is building a slice in Reader, and puts the scanned characters into that slice.