Groovy script result processing inside Groovy restriction

Processing script results was done outside the restricted execution which
allowed restricted calls inside returned closures (e.g. when used with
InstanceBuilder)

Change-Id: Ie843a50f2afac3dda0e1c1e80422f5d1abbf7c29
Reviewed-on: http://gerrit.esdi-community.eu/3168
Tested-by: Jenkins <sitemple@igd.fraunhofer.de>
Reviewed-by: Simon Templer <simon.templer@igd.fraunhofer.de>