Update database of contributor email hashes
Introduce path::is_child(child, parent)

This also returns true when ‘child == parent’ so perhaps a better name should be chosen for this function.
Fix infinite loop for documents outside project folder

Fixes issue #557 (part two).