Add pagination for task list API.
Sync task status with Jenkins when restart sys.
Merge pull request #15 from ivanzhaowy/master

Add pagination for task list API.