Fix issue with duplicates
Add test_convert2ranges
Drop lumi4files function in favor of file_run_lumi which does the same job; fix all issues found by pylint