Force pings objects to be deleted on cascade (#448)

Workaround to (not yet confirmed) upstream issue on django (#22594)
https://code.djangoproject.com/ticket/22594
Add test to check that pings are removed (#448)
Merge branch 'bug448' (#448)