[worldborder] Added custom implementation of writeChunkToNBT

This is required so that events are not fired for chunks that we are
loading simply to generate the terrain.
Merge pull request #1201 from gnif/develop

[worldborder] Added custom implementation of writeChunkToNBT