Truncate SOA serial to latest hour

This will help in the caching for the Signatures.
Add caching key function