(Paris2013) Call the callback if there is an error generating
Merge pull request #358 from mrvisser/paris2013-activities-pp

(Paris2013) Activities adding content previews
Better PDF parsing + documentviewer compliancy