support for diffing the empty tree

added missing support for diffing tree-to-tree with NULL as argument.
(see issue #222)
Merge remote-tracking branch 'cholin/features/diff_tree_empty'