Fix erroneous exception handler
Add module validation for case list

Show an error on the case list configuration screen if there are no "List" display properties checked.
Refactor/eliminate code duplication
Merge pull request #2837 from dimagi/module-validation

Add module validation for case list