Only setup factory linting if RSpec is defined

Makes it possible to use factories in a context outside of RSpec, e.g.
in a Rake task, or at the console.
Merge pull request #6 from dpla/rspec-lint

Only setup factory linting if RSpec is defined