add: ability to hook into cli urilities

the patch introduces way for package developers to hook into CLI
utilities (e.g. cli utility sending email notifications) by creating a
newly introduced `cli` plugin type which can provide `onCli` event
handler
Merge pull request #24 from kulbakin/fix-cli

add: ability to hook into cli urilities