makefile: switch to using the standard LDLIBS var
implement more flexible debug streams.

now we can have multiple channels which are turned on/off
independently.  furthermore, each channel has (currently) 3
"levels": tracing, warnings, and errors.  in the future, we'll be
able to turn off levels dynamically.

also, because i love it: color.