Debug build changes

-Debug builds now undefine FINAL_RELEASE. Some changes were necessary to
make this happen (removing things from the new build that are removed in
the normal build).
Natural Wonder Discovery Happiness

Is now handled in the DLL.

Also added some debugging wrappers.