CLOUDIFY-1848 Added TaskExecutorMock. Refactored integration test into unit test
CLOUDIFY-1848 Fixed checkstyle warnings
CLOUDIFY-1848 Fixed tests based on CR comments from elip