Added contentId parameter to the central BuildUrl method

Added contentId parameter to the central BuildUrl method which means the url will jump to the right reply when specified. This allows us to stay on the page when replying instead of being thrown back to the first page.