Move error/warning decisions to wget Lua script.

The decision of whether or not a response deserves a warning or error
flag requires knowledge that is most easily accessible at the wget
level.  Bookkeeping remains at a higher layer.
Highlight warning/error responses in the log.