Pluggable Time class
Fix build
Merge pull request #889 from mattn/pluggable_time

Pluggable Time class