Change learning dashboard class to a singleton pattern.

 * Make api_endpoint and institution attributes of the LD instance
 * Update all methods to be instance methods instead of class methods
 * Update method calls in course, enrollment, and user to match
 * Change initializer to initialize LD api endpoint and insitution
     attributes
 * Move learning dashboard class into lib, where it's belonged for a while