WIP Cartridge Refactor - Add support for connection hooks

* Update mock cartridge to have a connection hook
* Add support for connection hooks in V2 cartridge model
Merge pull request #1757 from ironcladlou/wip/connectors

Merged by openshift-bot