[api2] Fixed create repo bug
Catch exceptions of get_user_traffic_stat
[api] include pub repos in repos list
[api] support share dir
Merge branch '2.0'