Handle SIGWINCH rather than polling terminal size

Rather than polling the terminal occasionally to see if it's changed
size, we should handle SIGWINCH (the "window change" signal).

So this patch adds fedup.terminal, which keeps track of information
about the terminal (really just the size) and handles SIGWINCH.

That lets us drop the dumb polling code from textoutput. Woo!