misc:painter: add sub-window support

1) add sub-window support which is useful to separate terminal
   into multiple windows and display respectively.
2) add test to sub-window and update test to Painter.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpagent: update start_monitor

Update start_monitor() to display in a sub-window of a Painter.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:testctp: update test to md using new Painter interface

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
strategy:turtle: wait a moment before move to next tick

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:testctp: update test to CtpData

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>