Collection radio buttons and collection check boxes through FormBuilder render
the provided block.

In the case of having a form_for method being called, the block for each
collection would not be passed and thus the result expected was always the same.
This patch passes the block to the original method like it would be assumed.
Adding tests for ActiveModel::Model

* Verifying persisted? is false when Model initialized
* Passing nil to Model should not blow up
* Changing test name to the one suggested in pull request comment
Merge pull request #8917 from adomokos/adding_more_tests_to_activemodel_model

Adding tests for ActiveModel::Model
Add regression test to #8907
Merge pull request #8916 from josemota/collection-with-block

Collection radio buttons and collection check boxes through FormBuilder render the provided block.

Closes #8897
Test to allow Range including DateTime and DateTime::Infinity

Closes #8587