Make even-image-pager works with previous templates

The current situation is not ideal, but at least work. The principle is to use
xmltask to read the map@outputclass and then change the customization.dir property.
The xsl are all the same, but the configuration allows to add more code once necessary.