move closer to set semantics

Rename avl-insert to avl-set, remove old values equal to newly added
ones and support trees with custom equality predicate.

Signed-off-by: Jan Dvořák <mordae@anilinux.org>