refactored test to work with dynamic url, and added partial tests for the ActivityService
download file and use timeout to show in file detail but only working for pic now
fix the service and controller to communicate after download file finished to call openfileutil(only for picture data now)
refactored activities and notification related stuff added files
added documentService to index.html
final merge
Merge branch 'devBrian' into openFile
fix the document download url bug in all different groups
fix the nested folder remote url to download files
make some changes in document files layout
fix bugs caused by the merge
Merge branch 'openFile' into devBrian
fix bugs after merge with open file function for ios