[FIXED JENKINS-9007] enable to strip job names of redundant strings

Some companies have naming conventions, this often results in long names which take to much space when displayed. This PR enables admins to define a RegEx to be used to shorten the display names of job in the DependenyGraph.

https://issues.jenkins-ci.org/browse/JENKINS-9007