Refactor validatior code and template

Just refactored the validator and template code a bit to eliminate
redundant data and calculations.

Signed-off-by: Konrad Reiche <konrad.reiche@fokus.fraunhofer.de>
Style validation results

I have refactored the template rendering code further. Especially,
stylesheets and script files are now included directly. Also the result
has been styled for better accessibility.

Signed-off-by: Konrad Reiche <konrad.reiche@fokus.fraunhofer.de>