Replace file lists with filter callback for file import
This branch replaces the file list parameters of Directory.import_files(), copy_files() and link_files() with a filter callback parameter. This change will allow a more efficient implementation of Directory.import_files() (not included in this MR). For CAS-to-CAS import initial performance comparison has shown 3 times the performance.
This is a preparatory step for #920 (closed).
Edited by Jürg Billeter