Add Asn_time.date_to_posix_time function.

Copyrights waived the project's license. And remember, never roll
in your own calendar calculation functions.
Merge pull request #6 from dbuenzli/master

Add Asn_time.date_to_posix_time function.