MDL-46619 Forum: only output last poster's name if user can view it.

Conflicts:
	mod/forum/lib.php
MDL-46619 Forum: link to the discussion only if users cannot see posts.

Conflicts:
	mod/forum/lib.php