(backends) Enable -papify option when Orcc is used in command line
(codegen) Clean InstancePrinter configuration

Instead of counting all actions to papify in a loop, count them once for
all when options are initialized using filter() extension

We also declare a variable to store the whole list of actions to papify.
It will be reused in the whole process
(codegen) Clean initialization of papify actions

We use the previously initialized list of actions to papify, instead of
looping over all actions and printing only for papified one.
This also fix an issue: i index was always incremented, even when an
action shouldn't be papified. This caused segfault
(codegen) Clean initialization

Try to remove i and k indexes, since they are not absolutely needed.
Also factorize some redundant code into variables
(codegen) Store the events for an actor in a specific list
(codegen) Use a method to compute structure array dereference

Now the application runs (no more segfault)
(codegen) Clean loops

Transform 1 line loops into more readable join() versions