Added handlers to view and add discussions, wrote the functions to add discussions to documents and comments.  Still debugging - not much UI yet