(WIP) Studio library view - Do not merge, for internal review

It's likely due to a lack of context, but I don't understand the changes in this file. Could you explain them? Why do we need to handle course keys without a run?