Added threadsave btree, and fixed some threadsafety comments.
Also fixed avl tree so "insert" doesn't panic if the element is already there.
A couple new features in list
ts_btree went through an attempt at reader/writer lock usage, but that was rolled back.