[FIXED JENKINS-22575] Optinally keep records for deleted builds up to Plot#numBuilds

This implements [JENKINS-22575](https://issues.jenkins-ci.org/issue/JENKINS-22575) allowing users to opt-out from change introduced in TBD (JIRA down).