Path exclusion/inclusion filtering

Ability to specify include and exclude substrings for job history files.

Also for this to work, added logic to FileLister.pruneListBySize method to prune orphan job confs and renamed to just pruneList
You need curly braces around the then block for ifs.
Otherwise we get later logic issues if merges create two lines behind an if and only the first one is executed conditionally. Same here and below.