Use window-based cursor / focus management.
Remove unused terminal cursor code.

This has been replaced by tickit-window-* APIs.