add codes for course downloading in client
Merge remote-tracking branch 'origin/zhangjc' into release
merge zhangjc and fix some bugs