Split factories in to individual files

Factories are loaded automatically from:

- test/factories.rb
- spec/factories.rb
- test/factories/*.rb
- spec/factories/*.rb

Keeping factories per-model helps navigation, especially when they get
more complex with traits and inheritance.
Merge branch 'issues/1403-split-factories' into rails-3-develop