Added expiry tree merging

Added ability to merge `expire_tiles` objects and the tree of expiries they use. Also added new tests for the expiry system. This can be used to reduce the `expire_tiles` objects across threads after the threads are finished (merging is a destructive process).

CC @pnorman @hollinger