add a flag to validation and deployment to ajax request
change log:

1.add validation & deploy result to db
2.fix deploy bug
Merge remote-tracking branch 'github/branch-pengfei' into branch-qun