FAIMS-873: fixed autosaving to properly aquire and release locks
Merge branch 'master' of github.com:IntersectAustralia/faims-android