Add name validations

ModelDefinition.name, PackageDefinition.name and ModelProperty.name
must not contain special characters.

Fix remoting metadata of Workspace.createFromTemplate.

/to @ritch please review
/cc @seanbrookes 
Yes.