fix ESView to use request param instead of self.request

self.request does not appear to be supported the same way in django 1.5
Merge pull request #2255 from dimagi/self.request

fix ESView to use request param instead of self.request