[FIXED JENKINS-16023] Use permalinks for as many Job.getLast*Build methods as possible.