updated for rails4
Fix rspec depreciation warning
Rails4 compatibility
Update travis to test only against rails4 and ruby 1.9.3/2.0.0