commentable_ids_fix improvements

Improved commentable_ids_fix:
* Parameterized by course
* dry_run switch
* only uses published discussion => does not update comments twice with the same discussion_id if draft version present