Increase limit to 1000 returned for pipelines to cater for projects with lots of pipelines.
Don't include pipelines that are deleted, but may still have deployments. These should not show up in the dashboard.
The above also fixes an issue where the tree view would crash because the folder would be undefined. This was caused by the pipeline not being found for a deployment.
A few small fixes: