Replaced deprecated _meta.module_name with model_name.
Merge pull request #3650 from timgraham/model_name

Replaced deprecated _meta.module_name with model_name.