Course capsule

This is working, except there is a bug with adding a new problem set. I'm not sure whether this is a rails bug and whether it is fixable or not. Something about circular dependencies. Someone check this out, plz. =]