XD-1884 Added type validation to SimpleModuleModuleOptionsMetadata

XD-1884 added unit test and changes per review

XD-1884 validate default option value