delete memberships from a person

Remove all the memberships related to a person that are not in the list
of uploaded memberships.
Does not remove primary membership yet.
make sure primary membership is deleted correctly

If deleting the primary membership then we have to remove the values in
the inputs further up the page otherwise this is recreated