Fix bug concerning different RunRailsCops in different directories.

Before this fix, the value of RunRailsCops for the first inspected file would be used for all files.
Merge pull request #511 from jonas054/fix_mobilized_cop_classes_bug

Fix bug concerning different RunRailsCops in different directories.