Added a simple unit test for NbtCompiler
Work in progress: Moving serialization code into a separate assembly.