Add stats.h.
Add RPM spec.
Add test case.
Do not link with libpthread.
Within each thread order stats alphabetically.
Add value pretty-printing.