buildPublicProjectData function is added to project logic.

For the given program, it builds a structure that contains information
on all accepted projects for that program.
The structure can and will be used to generate a list of all projects
and maybe CSV export.

Also, a few unit tests are added.

Change-Id: Icd199a65797198523bc169681443633be13f1b56
2 files changed