Fixed errors in Dart code and API prevent image upload for project from working. Part of #981
Merge branch 'dartProjectImages' of gitlab.trommons.org:solas-match into dartProjectImages