misc:painter: fix flushing border and set title

1) Fix flushing border issue.
2) Add support to set title for sub windows.
3) Add exception capturer for paintLine().

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpParser: set titles for windows to display

1) Set titles for windows to display market data and tradings.
2) Adjust the default size for windows.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpagent: adjust the default value for lineStart

Adjust the default value for lineStart argument to 0.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
misc:logmgr: adjust the first line to allocate

Adjust the first line to allocate for LogPainter to 0.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
strategy:futures: adjust the log format to screen

Adjust the format to print logs to screen.

Signed-off-by: Zhengwang Ruan <ruan.zhengwang@gmail.com>
ctp:ctpParser: add '-e' option to exit at a specific time

Add '-e' option to specify a time string when ctp will exit.

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