[WFCORE-38] Add a target option of console for the console-handler which translates to System.console().