updated getPostsByPids method to resolve premature return issue, and
refactored it to use async.map instead of eachSeries
Merge branch 'master' of github.com:designcreateplay/NodeBB