Pass and use time_point in DecayingSample ctor (RIPD-395)
Switches a number of places in Resource::Logic to use abstract_clock::now()
which returns a time_point.  Unfortunately Resource::Logic tracks time
locally also, but with ints, not time_point.  So Resource::Logic uses a
delicate mix of abstract_clock::now() and abstract_clock::elapsed() with
this commit.  That inconsistency could be addressed in a second commit.
Serialization code improvements:
* Add generics to eliminate duplicate code in STHash
* Use generics in Serializer and callers