Fix several bugs in binary search trees and skip list

Fix clearing of BinarySearchTree, fix removing items from ScapegoatTree
and SkipList