[FIXED JENKINS-14840] Use correct filename when saving graph config.
Fixed several warnings.
[FIXED JENKINS-12342] Show results of failed builds if the plugin caused
the failure.