lib: avl: Add list like functionality

In order to provide fast next and previous pointers, list like
functions have been added.

Signed-off-by: Bart Kuivenhoven <bemkuivenhoven@gmail.com>