Added converting project name to project id

Added converting project name to project id for getting correct URL for
savanna.
Added exception if project name and id is empty.

Change-Id: I9d759d55dbcedbcccf7420923233435a0c25f0ec