Require active_mode/railtie in dummy app.

We seem to have not needed it before running the tests on rails 4.
Update validation_spec for changed builder initialize method signature.
Merge branch 'rails4-fix'