Set the correct status of a maven build, in case that one module has test failures and other module don't compile.

[FIXED JENKINS-16522]
[FIXED JENKINS-17644]
Merge pull request #6 from mrebasti/jenkins-16522

[FIXED JENKINS-16522] Wrong status for maven submodule