Add #key? to ActiveModel::Errors

Mirror Ruby's Hash#key?
Merge pull request #17253 from gshutler/activemodel-errors-key

Add #key? to ActiveModel::Errors