Added gm4java and im4java dependencies for a better template rendering based on GraphicsMagick.