More test infrastructure.
Added expiry tree merging.

This merges the expiry trees of two `expire_tiles` objects,
destroying the second in the process. This can be used to reduce
`expire_tiles` objects created in other processes back onto the
main thread.