Add os_trace_extensions.c. Add NICK trace criteria.

os_trace_extensions.c extends os_trace to have extra functionality. The
NICK criteria allows for NICKs to be globbed against (instead of entire
hosts like GLOB does).