Allow adding existing components when creating a unit via the REST API.
Probably the "update unit" API.
Requirements:
- Components must be from the same library.
- Allow re-ordering and removing components via the update API.
- Enforce permissions.
- Ensure the
publish_status field in the search index indicates when the unit has or "contains" changes.
- Ensure a
component_count field in the search index is updated to show how many components the unit has.
- Components in units are always unpinned - we don't need to implement "pinned components" in edx-platform, even though there's support for it in Learning Core.