Implemented error handling for XBlock instances

Failed XBlock loads previously logged a warning that went nowhere. They are now stored in a list of failed XBlock instances (with their exception). @pmitros @nedbat 
This docstring is a little odd: the caller of this function will be using it to load classes.  The description should include this.  The old string started with, "Load all the classes for a plugin."