remove unused imports
fix map behavior if not all your cases are configured for maps

also a bit of miscellaneous cleanup
Merge pull request #633 from dimagi/maps-cleanup

Maps cleanup