Added enketo edit data endpoint

Also, there's `TESTING_MODE` code here and there throughout, we should change the tests to use mocks and make this unnecessary, but we can do that later.