Converted to tup-lua style builds.
Fixes to become compatible with updates to ren-general and ren-script.
Forgot to set global with registered functions.
Added gitattributes for EOL safety.
Fixed a couple warnings.  (Maybe) solved a yet-unencountered uninitialized value issue.
Prevented appending savefiles, fixed a newline formatting annoyance.