add small puppet duration parser

In order to avoid errors about time sepcficiations and unify the
interface, add puppet support for durations matching the Go support.
support duration format for nagios settings

In order to unify the usage of monitored_cron and avoid timing related
errors, support a single time format for it.