SERVER-13635 Make BtreeInterface not Btree-specific

Implementations should be able to use any data structure that maintains
sorted order.