Update GerritApi usage for creating a new Project

The approved GerritApi for creating a new Project has a different signature on Gerrit master.
Adapting the sample to the Gerrit master 2.10-SNAPSHOT.