New NBT utility functions aid in building worlds.

Lots of compound tag construction, so I refactored the code and put it
in the NBT package.
Refactored chunk and level code.

Broke down Half and Double functions into simpler more testable components.

Used new NBT functions in chunk and section construction.

Made a note to remind myself to fix the level tests to use maps.