Rails4 bundle

This requires rails 4.0.0.rc1 and adds a few fixes to make tests actually run on the core gem. Next I should look into get rid of some of the zillions warnings I see. Some of them come from other dependencies.

I think we should focus on getting the core gem green with as few warnings as possible and then move to the other components.