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

fixes: http://manage.dimagi.com/default.asp?90090

also tested that this does not break 1.3