Pass `export_list` by reference, not pointer.
Add options to control Lua function names.

This is so that it's easier to re-use common functions across
several output tables.
Merge remote-tracking branch 'origin/mla_multi_backend' into kk_multiback
get polygons into the multi output