Reorder callbacks should not be triggered if none of tree attributes were changed.

Callbacks specs also moved to separate file.