sync="true" added
Merge branch 'master' of https://github.com/IntersectAustralia/faims-android

# By Theeban Soundararajan (8) and matthew-intersect (7)
# Via Theeban Soundararajan (4) and matthew-intersect (4)
* 'master' of https://github.com/IntersectAustralia/faims-android:
  FAIMS-799 Fix ordering issue
  FAIMS-633: updated database queries to use format function
  FAIMS-838 Fix remove file gallery bug
  FAIMS-799 Fix tests
  FAIMS-838 Update file gallery labels
  FAIMS-799 Allow multiple arch16n files
  FAIMS-848: fixed bug with version displaying incorrect version
  FAIMS-848: fixed bug with syncing db
  FAIMS-848: fixed bug with version sometimes showing garbage values
  FAIMS-838 Update metadata dialogs for file galleries and add remove file option
  FAIMS-824: updated queries to be case sensitive
  FAIMS-633: ignore null values if formatstring is null
  Fix recursive warning bug
  FAIMS-633: added attribute string format function
  fixed typo