output: add a flushbybag output option(with a better code layout)

This option enable to take advantage of event views. If set the output
plugin does flush datas by bags. This enable to have many outputs at
the same date. By the way the gvle plugin that enable the
configuration has been updated inside the GUI.