CFY-1071 Added logger to the rest client
CFY-1071 changed the logger's name.
CFY-1071 resolved flake8 issues.
CFY-1071 check if logging is needed.
CFY-1071 fixed checkstyle issues.
CFY-1071 changed if-statment location to run only in debug mode.
CFY-1071 changed an if statement to one line.
Merge pull request #44 from cloudify-cosmo/CFY-1071-verbose-mode

Cfy 1071 verbose mode