Declare variables for XS args

Also prefix the variable names with "arg_" to avoid clashes with other
local variable names.
Declare 'args_ok' variable in XS
Declare 'method' variable in XS
Declare 'retval' variable in XS
Whitespace in generated XS