CFY-1371 use new ctx api
Merge pull request #3 from cloudify-cosmo/CFY-1373-new-ctx-api

CFY-1371 use new ctx api