Implemented some of the object hierarchy the new way in nif_objects.h and started updating niflib.cpp.