Merge pull request #283 from xandros6/refactor

Pdf report fixing. 
Close #282.
Merge branch 'refactor' of git@github.com:geosolutions-it/fra2015 into refactor
Fixed PDF report problem for images and HTML entities in production environment