Improved support for time when using Dynamic parameters

Implemented Time as the default time_fn for Dynamic parameters. This
is designed to serve as a useful shared time_fn across time varying
parameters in different parameterized objects. Also implemented the
Forever class to express infinite durations.