Move date and time utility functions to libphutil

Summary: This moves the date and time utility functions that are not user-dependent into libphutil.

Test Plan: Generated library maps and viewed Phabricator instance.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D9906