add action "resync" to unsync and resync a library
Merge pull request #292 from haiwen/resync

add action "resync" to unsync and resync a library