add get workflow rest and refactor.
Merge branch 'master' of github.com:shensiduanxing/simpleworkflow