add role in instance api for getting the slave list
fix url redirect case
add tcp server and task manager
add docs and add service threads
Merge branch 'master' of https://github.com/xchliu/mega
更新