make submissions by form use couch again

http://manage.dimagi.com/default.asp?132460

This essentially reverts https://github.com/dimagi/commcare-hq/pull/4166 and https://github.com/dimagi/commcare-hq/pull/4195 without actually reverting them.