[bug 972414] Add csv export to analyzer search

* add csv export to analyzer search
* clean up some things by moving some functionality to the Response
  model
Add opinion_count to header
Fix missing div at end