Made Model.__eq__ consider proxy models equivalent

Fixed #11892, fixed #16458, fixed #14492.
Fixed #20777 -- Admin proxy model deletion regression

Added proxy_models tests by Harm Geerts <github@geertswei.nl>.