XRevert "Revert "Look up form name from app by xmlns""

This reverts commit 0c3a7e4bfcac47515b965b01bd5d7f8a761cfa08.
Merge pull request #2386 from dimagi/yo-dawg

XRevert "Revert "Look up form name from app by xmlns""