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.
(NIT) For computations on sass variables, we wrap these in parens -->  ($baseline*2);