Refactoring window types, removing recipient and from references - wip
Refactored all window recipients and types

Tests need fixing
Fixed tests
Removed TODOs
Fixed /occupants hide
Added /inpblock command
Use class instead of base pointer
Tidy titlebar.c
Added win_get_title
Show nick for title
Moved unread to window subtypes
fix idle calculation if not using LIBXSS

the inp_get_char was never returning ERR even without getting any input
so the idle timeout stuff was wasting CPU and wasn't working if LIBXSS
wasn't used.