Cleanup the output handling to register outputs. AIRAVATA-1284
Merge branch 'master' of https://git-wip-us.apache.org/repos/asf/airavata