Added a course published field so courses can be constructed before being published.
Course page no longer shows categories that have no courses associated with them.

Resolves #39 and #42