CLOUDIFY-2222 code cleanup, fix manager rest start check timeout (in workflows), add some validations