Added ActiveRecord::Base#has_secure_key (via ActiveRecord::Securekey)

This is how the API will look like.

- [X] Done Implementation. 
- [ ] Documentation's work is in progress

fixes #16879 
cc @dhh 
`activerecord/test/cases/trasaction_isolation_test.rb` is also using block syntax.