fixed bug when course status in course progree of enrollee is closed

|Megha/Vikram|added more java docs

Change-Id: Ia0ecc329b2ca01725479b0e7d437fb6e7917973a