604 add xls export to data endpoint

closes #604
Nothing was broken before. Code was refactored to have a function (custom_response_handler) which could be called both on the XFormViewSet and DataViewSet because the export functionality is similar; to avoid repeating code that does the same thing.