Refactored hstatus theme code.

MyStatus page now depends upon individual theme functions for
complearn, points, and courses tables. This increases portability.