Rails 4 pre-release compatibility

Reflects changes in naming and callbacks in Rails 4 pre-release.
Includes pull/591 from @brupm
Resolves: karmi/tire#585