[WIP] Datetime implementation following datetime branch on libdynd