fixes dotnet/templating#2586 (#1334)
fixes dotnet/templating#2586 (#1334)

Visual Studio supports only "project" and "item" type, and the field is mandatory.
- Make type a required property in the template.json schema
- Only allowed values are "project", "item"
schemastore/schemastore,schemastore/schemastore