Using redis multi to improve the performance of stats.increment and stats.getAll (also added unit tes in core_stats.js).
Merge pull request #148 from jacobbubu/master

Using redid pipeline to improve the performance of api.stats
Merge branch 'master' into develop