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.
Adjust property names & fix typo in comments

squash this