Reruns/cms server side LMS-11016

This PR is an updated version of this old one: https://github.com/edx/edx-platform/pull/4573
A convention I like is to add a comment above this except explaining why we are ok with a broad except here. It is a pylint violation for a reason.