update createProject and common.js

create project :
- add trim
- check string validation
common.js :
- change release to iteration