Apply idOfModel and idOfView to the prototypes of ViewCollection and ViewCollectionGroup
Merge branch 'feature/issue-372-viewcollectiongroup-should-allow-adding-and-removing-items-directly' into feature/issue-369-when-a-state-view-is-removed-relevant-endpoints-and-connection-views-should-be-removed
Remove an endpoint's connections before removing the actual endpoint to keep jsPlumb happy