Add avl internal avl del prequisites

This PR adds helper functions for `avl_del()`. This will allow a rewrite of PR #71 to accomodate for tree regeneration.
Suggestion taken.