Generate metric description out of classes

I have added a class method to the spelling metric class. This way I can
generate the description text on the view from the class itself.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>