Move factories => test_factories

* also change " by ' where possible (style guide)
* first "large" refactoring with Rubymine
  (it really works great for renaming classes)