Extract infer file type code into own file.
Enable rspec/rails to be loaded via rspec/rails/without_filetype_infer to allow opt-out of that behaviour.
Merge pull request #969 from rspec/issue-662-2

Internal refactoring to enable opt-out of infer filetype behaviour