[IDE] Generated application from Datasource with a space in the name puts spaces in areas not allowed
Describe the bug
Generating an application from a model, which was itself generated from a Datasource, allows spaces in places where they shouldn't be allowed. If the Datasource has a space in the name, the resulting application, while functional, will contain spaces in places where they aren't technically allowed. For example, consider a project generated from a Datasource called "My DEV". The generated project will be named "My DEV", and the generated application will contain perspective.extension and perspective-portal.extension files which contain a space, which the perspective editor considers to be invalid: My DEV/gen/ui/api_token/perspective.js.
To Reproduce Follow the steps in the "Generate Application from Datasource" tutorial (https://www.dirigible.io/help/tutorials/modeling/generate-application-from-datasource/), but when creating the Datasource, use a space in the name.
Expected behavior A valid project and application is generated
Screenshots N/A
Desktop (please complete the following information):
- OS: Linux
- Browser: Microsoft Edge
- Version: 123.0.2420.65
Smartphone (please complete the following information): N/A
Additional context Add any other context about the problem here.
Related to #3793