support passing strings or toggle objects to templatetag
properly honor edit data permissions and billing info for edit submission

http://manage.dimagi.com/default.asp?150371
Merge pull request #5080 from dimagi/edit-submit-privs

properly honor permissions and billing info for edit submission