BTreeMap: fix #209, put operation was not thread safe.

Solved by fixing three TODOs (root locking, tree levels and left most node jump)