Update StringLicenseValidator.cs

Added a constructor to be able to set the discovery mode on the base class AbstractLicenseValidator