Store the avl tree within collectd core.

We need this if we want modules to share access to the threshold
avl tree.
reuse main avl tree
Merge branch 'master' into feature-riemann-threshold