Move code to open report options dialog from guile to C

This code was switching a lot between the guile and C context.
This move at least reduces some of them. The switches can only
be eliminated completely when the options code itself gets
rewritten in C(++).
Bug 741810 - Compilation fails because of creating .gnucash