Model equality check has changed for models without pk.

Introduced in django/django@6af05e7a0f0e4604d6a67899acaa99d73ec0dfaa
Checking models for equality will use id() if they do not have
a primary key yet, i.e. haven't been persisted yet.
We overwrite PhoneDevice.__eq__ to make sure we have the same
instances where needed.