[FIXED JENKINS-18196] Loading the last 3 successful builds may be very expensive in certain rare, but possible situations (all newer builds failed, only some very old builds were successful).
Go only up to 6 build into the past for calculating the estimated duration.
Also take failed builds into account, if we don't find any successful ones.
(cherry picked from commit 04d85eb476bdc57eb7ac3c2bb34e91be5b55c487)
[FIXED JENKINS-18196] fixed typo
(cherry picked from commit 5ce7ea0f048bb7330ac4ca642812a43e6a49d67b)
[FIXED JENKINS-18196] reduce visibility of getEstimatedDurationCandidates to protected
(cherry picked from commit e77441f6f1483679c600fe29ec2e39d1e36cf1a9)
[FIXED JENKINS-17451] "projects tied to slave" shows unrelated maven
module jobs. shows TopLevelItem only.

Restricts displayed projects to TopLevelItem only.
(cherry picked from commit 9cb0d11f5adde14d07527838132af9774074c846)
[FIXED JENKINS-16660] Allow variable names with dots in bracketed references.

Given these <variable,value> mappings: <A,a> and <A.B,a-b>, $A.B would
evaluate to $a.B, as it currently does, and ${A.B} to a-b instead of the
current ${A.B}.

Existing ${A.B}-like references will break (not evaluate to ${A.B}) if
there actually is an A.B variable defined, which I think is very
unlikely.

(cherry picked from commit 3376cf01580ecd9cd099b5513874c8bed2490839)
[FIXED JENKINS-16918] Use HTTP 405 when POST is required.

(cherry picked from commit ec9d809ddd2ed6930d1bf970999b152c5debdaa4)

Conflicts:
	changelog.html