plugins: add multigraphs support to Pgsql.pm

With the new 'multigraph' parameter I have added it is possible to use the module in
multigraph plugin.

The existing 'extraconfig' parameter is not suitable for this purpose because (a) general query output modification is required and (b) it outputs in the middle of the config output.

Thanks,
Ruslan