Rails 4 comaptibility fixes

** Upgrade Notes **

The ```spawn``` method has been replaced by ```factory_spawn```, due to ```spawn``` being used within Rails.