Rewrite noticemove to prefer active window

Edge cases, including sending yourself notices, are now handled correctly. Should only affect incoming notices.

Notice message destination in preference order:
* active window if the sender is involved (channel or query)
* query with the sender if open
* channel you are joined in that has the sender in (first found is used)
* irssi default