Implemented 4/28 reviewer comments.

Shortened the "constants" and "languages" INSERT statements similar to what was done for "lang_definitions".
Also, used the suggested "$tempReturn  =~ s/,\n$/;\n/;" statement instead of an IF statement for the stated reasons for the previous commit.