Fixing JENKINS-24802

Corrected issue explained in https://issues.jenkins-ci.org/browse/JENKINS-24802
Refactored SubversionRepositoryStatus to make onNotify method shorter and more "understandable"
Added unit tests for one refactored method
We are on JUnit 4. Do not revert to JUnit 3.