Fix/analysis report whitout status

When I request  an analyze with pmd format and when the build is over, the console don't receive the status finished and I lose hand on the console.

Also, when I request the last analysis, the output says: "The analysis is not finished yet" whereas I see a complete report on the dashboard 

So, I was looking on the code and I saw: The status and the report are not on the same resource but they share the same Model class: "Analysis"

Actually, Status is a link of Analysis.

Sometimes violations are loaded by Api::getAnalysis, at other times status are loaded by Api::getAnalysisStatus.

I try to fix that but I'm not on the good way for to do that.

Could you help me?
``AnalysisMerger`` would be a much better name. It is a merger, not an analysis.

And why do we need to merge analysis together actually ?