Fail Ant build if PDF rendering fails #1414

The way this is implemented for FOP is a hack, but I don't think we should keep waiting for this to be fixed in FOP, either.