[FIXED JENKINS-17715] Display Name is not shown

Original implementation of Functions#getRelativeDisplayNameFrom just
converted / to ». This was not considering the feature allowing to set a
display name for a given job.

The new implementation is using the same algorithm as
AbstractItem#getRelativeNameFrom.