allow submit to receive b64 image, test.
Merge pull request #18 from adapt/feature/offline-file-submit

allow submit to receive b64 image, with test