[PDI-10424] do setOutputDone() for the case of empty input RowSet

the setOutputDone() method was not called what caused hang of the next step.

unit test is provided.

Description for the JIRA case PDI-10424 is updated suggesting users using new implementation of Script step.