add debug window & improve separation of output params
add debug window & improve separation of output params

* add debug window
* incl. stdout/stderr capturing
* prefix debug field names to prevent clashes with field names
* fix handling of modules without output parameters
* separate handling of simple & external (file import/export) types

cdeepakroy/ctk-cli,commontk/ctk-cli