Additional info for forum discussions and posts

Added more fields to the forum discussions and posts.
Now all the discusions and forum posts have course, forum and
discussion fields containing the relative ids.