Added course enrollment

Change-Id: I973fcb2672b53e0aa64158bea46b8cbb9c371c17

@rocha 
@jzoldak I'd prefer to stick with httpretty. It essentially does the mocking steps in a single line and is quite convenient. The extra library is only needed for testing and should not be installed for production usage..