Use get_registered_model in the get_model shim on Django 1.7+

Thanks to @arescope for the suggestion.