Create ProjectGuid property in freshly created projects

This property is needed by other clients

Add forgotten wait() to functions which need it

refs #268110
You can import the `node-uuid` module at the top.