Clean up imports and the get_qtls_from_rqtl_data function thanks to pylint

pylint detected a couple of un-used variable: headers and lg_group both are indeed
neither used nor useful at this stage.
pylint also advice to mark the regular expression as r'..'
More pylint clean up, unused variable, imports cleaning