Support active_model 4.2.0beta1 in the active_model plugin

This adds a model_name instance method, which is required by the
ActiveModel::Lint tests in active_model 4.2.0beta1.