Add name validations

ModelDefinition.name, PackageDefinition.name and ModelProperty.name
must not contain special characters.

Fix remoting metadata of Workspace.createFromTemplate.