support choice of time units for metered rates and timer snapshots

- expand keyword-to-timeunit helper function to cover remaining cases of the TimeUnit enum
- extend the rates function for metered metrics to support time units other than seconds
- extend the snapshot function for timers to support time units other than nanoseconds