CLOUDIFY-1793 - removed unused imports.
CLOUDIFY-2061 list-services and list-applications should use the new Rest API. Fixed test assertion.