make all calls to back_to_main explicit and remove unused params
minor style fixes
Merge pull request #1380 from dimagi/app-views-cleanup

make all calls to back_to_main explicit and remove unused params