Fix so that library_content module can be used on production

Before, it was not usable if ALLOW_ALL_ADVANCED_COMPONENTS was False
Three levels of user permissions for content libraries:
Admin ("Instructor") - Can edit and assign permissions to other users
Normal ("Staff") - Can edit
User - Can view the library and use content from it but cannot edit it or its blocks.
Unit tests for content library permissions