Rename API from useProjectDistribution to useBuildDistribution

+REVIEW-5254
Add test that empty list of tasks is treated equally to null tasks (when building a model)

+REVIEW-5254
Add clarifying Javadoc regarding the use of empty array arguments.

+REVIEW-5254