[JENKINS-22673]  Sites for nested Maven multi-module projects deeper than one level are archived flat

This fixes the archiving for nested multi-module sites. 
It ascends the maven project structure from the current (nested) module until the maven pom of the Jenkins root module. Each time it goes up one level, it prefixes the output path with the current artifactId.