BUGFIX: in __insertNewJDL() use result['lastRowID']
BUGFIX: the Queue platform was not properly taken into account
Removed useless comment
Added helper to execute remote commands
Merge pull request #1623 from atsareg/fix-v6r10

[v6r10] Several fixes