Release locks when detaching.
Fix initial serial check in test1.t
Cache sharelite objects instead of Simple objects. Move scache
from the instance to private lexicals. Now there can be many
Simple instances pointing to the same shared segment in a single
process, and destruction behaves normally instead of being delayed
until exit.