CLOUDIFY-2340 clean manager rest project to comply with flake8 checks