Game data file now builds fully from editor.

Some refactoring will still be required to share constants
between editor and engine. Also, some portions of writing data
file may still be used by engine (I need to check GUIs for this
in particular), so the managed code may be replaced by managed
calls to the native instead.