Update gems and Rails.

Some test are broken. Working on them.
180 examples, 5 failures
Update factory girl to newer version. Clear factories.rb.

Need to update test.
Fix test after update Factory Girl
Fix integration test.

Change some name variable.
Fix name for some test.