mod: added lua hooks for G_Error and G_DPrint, fixes #405
misc: removed unnecessary va() when calling G_Printf, warning fix, refs #360