[JENKINS-20940] Added a test to reproduce JENKINS-20940. Fails to copy from a matrix project in the same folder.
[FIXED JENKINS-20940] Use rootProject as copying sources. This allows correct project name resolving from matrix projects.
[JENKINS-20940] Fix permissionTest not to run the constructor directly, but to use UI.
Merge pull request #40 from ikedam/feature/JENKINS-20940_relativeFromMatrix

[JENKINS-20940] relative project names from matrix projects.