fixes #5780 - API v2 - RESTful way to add/remove many-to-many association one at a time rather than passing all id's

Included commit from PR #1068
I don't think they're mutually exclusive...