CLOUDIFY-1660 added support for set instances events inspection and refactor events cache