check filesize if it is a FileEntity, fail if  > 5MB
SWC-528: add synapse client tests around the rest of the calls
SWC-528: fix progress bar activity and size
merge with develop
fix build after merge
Merge pull request #268 from jay-hodgson/SWC-528b

Swc-528: file size check, synapse client tests, and fix progress bar ui (still needs improvement)