Miscellaneous fiddly patches

Add strtoul
Clean up a type.
BUild in devsrv.
use strtoul

Many fewer warnings.

Devsrv took about 10 minutes to bring over and get building.

Signed-off-by: Ronald G. Minnich <rminnich@gmail.com>