Commits

Estanislau Trepat committed 8af3c8398d9
Add pessimistic locking. Closes #89. Use pessimistic locks when performing certain operations which may result in a race condition. Mainly: + When moving nodes (updates bounds and depth for whole subbranches). + While looking for rightmost node (at every node creation) which may result in some error, mainly if it gets updated while doing this. + When pruning whole subtrees.