Refactor result details modal

This removes the knowledge capture components from the modal and also removes all the HTML construction from the JS in favor of using Marionette views and HTML templates.