Move util code to libc

Will implement the standard C library over time. Still need to make
adjustments to existing functions.
Rename time files to clock. Fix bug in types.h