FAIMS-297: refactored database manager + added transactions for database updates
Merge branch 'master' of github.com:IntersectAustralia/faims-android
FAIMS-683: refactored code