sys/param.h cleanup, mostly using MINIMUM() and <limits.h>ok dtucker
also check contents of remaining string
unit test for misc.c:strdelim() that mostly servces to highlight itsinconsistencies