Fixed #22956 -- Made PermissionManager.get_by_natural_key use the specified database for content type lookup.  see:  https://code.djangoproject.com/ticket/22956