Move formattedresult method from publish to Analysis

New method 'getFormattedResult()' on content/analysis/Analysis
The formatted result should be accessed easily all over the application. The
method takes into account the specs and decimal values formatting.