Fixed #22728 - Prohibited lookups usage for get_or_create

Patch proposes how this problem can be solved.
I decided to make this backwards incompatible, because the way django does it now should not be encouraged.

One more thing - ticket is about `get_or_create`, but I think `update_or_create` should have the same behavior.