Fixed problem with bulk export failing

http://manage.dimagi.com/default.asp?88314
Not sure if this matters, but this introduces a behavioral change where GET parameters are only used on GET requests and POST parameters are used on all other types of requests (HEAD, PUT, ...). Might be safer to change it to this:

```py
req = request.POST if request.method == 'POST' else request.GET
```