simple error handling for null form.meta for incomplete/unsupported programmatic registration schemes
removing test delete line
adding more proper undefined handling
Merge pull request #55 from dimagi/new_casedetails_fix

New casedetails fix