small optimization of xstring::truncate().
(FileSet::ReverseSort) new method.
add a generic SetValidate function and use it to validate some settings.
add mirror:sort-by setting