support choice of time units for metered rates and timer snapshots

- expand keyword-to-timeunit helper function to cover remaining case 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
Merge pull request #1 from dwhjames/topic/units

support choice of time units for metered rates and timer snapshots