Add strftime package

This adds strftime.Strftime, which uses the libc function on linux/darwin and a pure Go replacement elsewhere.