[FIXED JENKINS-16098] restrict getItems() return value to related projects

A fix for https://issues.jenkins-ci.org/browse/JENKINS-16098
Build pipeline view under nested view shows wrong status since BuildPipelineView.getItems() returns all projects.
I've fixed it by restricting return values to related projects.