prefer Iterators to CollectionUtils
apply BTree update function correctly
patch by Benedict Elliott Smith; reviewed by jbellis for CASSANDRA-6692
clean up Path and Cursor now that we know stack allocation doesn't work as expected
patch by Benedict Elliott Smith; reviewed by jbellis for CASSANDRA-6692