Fix rl-glue bugs and add command line arg to launch in rl-glue mode

"self" keyword missing in interface implementation. The "action" object
was not parsed correctly: .intArray() function had to be called