Check for exceptions when rendering studio view.

        Otherwise it's possible to reach stuck states.
Check for exceptions in student view too
leveraging some of the existing notification styling for component errors in studio
Added acceptance tests for get_html exception handling
Make tests conform to new import UI