CLOUDIFY-1744 added support for application events on install
CLOUDIFY-1660 fix compilation