Fix some of the issues with the custom course designer

This address some of the problems with the custom course designer (issue #186). Most of it is CSS and JS stuff related to the new Bootstrap theme.

However, it's not totally working yet. Take a look at my last comment on issue #186 for more info.