support changing the case export format via url param

http://manage.dimagi.com/default.asp?104191
Merge pull request #3097 from dimagi/case-export-format

support changing the case export format via url param