LiveSubmissionsController: Logging, Error Handing, Fixing

* specify formats=html to render_to_string
* handle error on subscribing thread
* logging to debug
.submission.detailed when show_judge is true,

- also giving .submission_#{id} class and submissionId data attr for scripting
Auto updating submission sections using stream API