properly honor permissions and billing info for edit submission

http://manage.dimagi.com/default.asp?150371

this builds off https://github.com/dimagi/commcare-hq/pull/5076 - the only functionality change is in https://github.com/dimagi/commcare-hq/commit/dcd492fe86a8bd05ae238843fcdfba74b54850a5