Wrap NBT Compression with a BufferedOutputStream to improve performance

Credit to @Poweruser for idea
Improved implementation a bit to not need to modify other files.
Cap Entity Collisions

Limit a single entity to colliding a max of 10 times per tick.
This will alleviate issues where animals are hoarded in 1x1 pens.