fixes issue with edit API when used_quota === available_quota, closes #318
Merge branch 'master' of https://github.com/enketo/enketo into production