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 
Actually, why not use `Timeout` for this, rather than a max number of retries?