Fix for singletons utility.
The Singletons TypeContainer instance was calling the token::Token
constructor inside finalizer methods after the token::Manager instance
had been destroyed. Since the Token constructor attempts to store
the input string in the manager, this could cause segfaults at exit.
Instead, provide a new method to compute key hashes that does not add
the input string to the token::Manager and call those methods
when erasing keys from the type-container.
Edited by David Thompson