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

CFY-1373 use new ctx api