clef : add apply_on_each_leaf

- apply_on_each_leaf: apply a function object to every leaf of the tree
- add some macros...