posix: Time api

this is what I have done so far for posix compatible time and timers.

comments are welcome

WIP