CFY-1373 new ctx api for source target operations
CFY-1373 use new ctx api for checking whether context is a deployment one
Merge branch 'master' into CFY-1373-ctx-source-target
CFY-1373 fixed branch for tests
Merge pull request #148 from cloudify-cosmo/CFY-1373-ctx-source-target

Cfy 1373 ctx source target