enhance project creation apis to allow setting of public attribute

Change-Id: Ib71ce8cf993627eada63d7d596fb302ec702f36e
Merge pull request #4538 from amacarthur/public-project-api2

enhance project creation apis to allow setting of public attribute