add API endpoint for removing an app to a collection (bug 894589)