Correct java.util.Set toArray impl, add SortedSet impl
Use (seq tree) not (seq this)
Add test for toArray