Add setting to ignore certain files/paths from scanning

Set ignore_paths to a a '/'-delimited list of values to ignore
certain paths to be not scanned.