shared-arena: make arena snapshot-version aware.

On snapshot, increase snapshot version id (u32),
save current snapshot version within a tuple.

On tuple free, check if tuple version is equal to current
snapshot id, if so do direct free, otherwise append tuple
to the delayed free list.