Add Asn_time.date_to_posix_time function.

Copyrights waived the project's license. And remember, never roll
in your own calendar calculation functions.
I don't think you want to run the tests at link time... comment this out?