don't blow up reports page if a dynamic report is not configured right
make the ending and starting dates match the actual bounds of the data
break get_default_build_spec into separate function
break get_correct_app_class into separate function
add secure_submissions_all_apps management command
clean up error handling
Merge pull request #1893 from dimagi/dynreportfix

don't blow up reports page if a dynamic report is not configured right
Merge pull request #1900 from dimagi/secure_submissions_all_apps

Secure submissions all apps
Merge pull request #1899 from dimagi/week

make the ending and starting dates match the actual bounds of the data
Disable broken XML format for XFormInstanceResource
Restore XML serialization returning original xform submission