divide ct_tty_hook into two separate modules

ct_tty_hook preserves the original behaviour
ct_mongoose_hook is meant only for mongoose and does server purity check
  and prints on server side suite/group/case starting/finishing events