Fixed #21702 -- get_model('app_label.ModelName').

Also added tests for get_model.
Took advantage of the new get_model API. Refs #21702.