[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

r?