Add a way to control style handling in the export module.

It is now possible to select whether the style module are to be
appended to the current picture history or as before just replacing
the corresponding module in the history.