CLOUDIFY-2152 added more test for events and refactor some shared methods
CLOUDFIY-2152 added resources for test
CLOUDIFY-2152 reduce discovery logging