fixed type conversion and input processing in course model.
re-defined listAvailable method as listLinkable. changed implementation to enforce further constraints on course published state.
updated called method name. fixed code comments.