CLOUDIFY-1730 Changed how print and println are handled in groovy DSL files as well as imported groovy files.
CLOUDIFY-1471 removed deprecated method.