Fix for bug 901459
Fix for bug 901459

Fix cut and paste error: change project_id to p['id'] as project_id
doesn't exist in this scope.

Also added project creation to the unit test which would have caught
this.

Change-Id: I1bd53265e3d622a59969eb286c3fbde471374c73

n0ano/ganttclient