Cleanup and optimize Kate::TextCursor
- inline line() and reuse lineInternal()
- unexport the class
- dont always remove the cursor from the block when setPosition is called. Instead check if the block has changed and only remove the cursor in that case.
- remove unused methods