support changing the case export format via url param

http://manage.dimagi.com/default.asp?104191