Fix for SYNR-416: Upload FileEntity and Data Entity broken in command line client

URLs in Activities, refactor of Activities class
Fix for SYNR-416: Upload FileEntity and Data Entity broken in command line client