Interface improvements for BTreeMap

I'd be up to mentoring a raw_cursor implementation. Open an API Change Proposal and ping me as a willing mentor (though note I don't have authority to second the proposal).