Fix an issue related to RESOURCE GROUP dialog.

The multiple statement generated are not transaction safe.

Hence - execute/put them in separate textbox, so that they will be
executed in separate transaction all together, just like we do in
Database dialog.
Allow to run the embed-xrc from the separate build directory, and on
all the platform