updated getPostsByPids method to resolve premature return issue, and refactored it to use async.map instead of eachSeries
updated getPostsByPids method to resolve premature return issue, and
refactored it to use async.map instead of eachSeries

cablelabs/dev-portal,cablelabs/dev-portal,cablelabs/dev-portal