Studio support for creating and editing libraries (PR 6046)

Duplicates https://github.com/edx/edx-platform/pull/6046 to allow Marco to review without spamming the reviewers on the original PR.
Suggest that this field can be named simply "Library Code" (is there any need to have "Number")?