Wrap instance level #model_name in a module

This is so avoid confusion when using the deprecated `extend`.
Please see https://github.com/rails/rails/pull/15905#issuecomment-47044492 for context.