Bolt backend: Encode keys efficiently, making databases ⅓ smaller.

Now, the first 5 bytes (40 bites) of the UNIX timestamp are encoded. The
supported span is now years [1970 - 36812].