Adds RepeatingTask.
Adds Singleton interface.
Fixes ThreadLocalStack.pop prematurely clearing all items and adds popOrError API.
Merge branch 'master' into feature/metric
Merge branch 'feature/metric' of github.com:perfectsense/dari into feature/metric
Renames MetricEventDateProcessor to MetricInterval.