[scripts] added server 3.1.0 upgrade scripts
Merge pull request #744 from haiwen/server-3.1-scripts

[scripts] added server 3.1.0 upgrade scripts