Fixed issue reported by Pawel with script when ODocument are in context. Now update takes only RID to avoid conflicts
Fixed issue #2216 about new console script command + support for multilines