Batch insert new posts to stream

This is a preliminary PR for issue #3711. For now, 13 jasmine test fail, I'm yet to find out why.