check filesize if it is a FileEntity, fail if  > 5MB
Merge pull request #260 from john-hill/SWC-81

code splitting
Merge pull request #265 from jay-hodgson/SWC-518b

SWC-516, SWC-518, SWC-520
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 #271 from jay-hodgson/SWC-528b

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