Fix bug in __libcpp_db::__iterator_copy.  Add debug test for swaping lists.