Fix the default l10n_resource occurring too late to do anything
When calling the class serializer, do it on a copy of the data

This allows for the ref table to pick up a reference to the actual Lua
table used by the program, not the ersatz produced by the class
serializer !
Do not run the class unserializer on references

If it is a reference, the table it refers to has either already been
unserialized, or the reference is indirectly part of the table, which
means it is still in construction.

Now, if you don't mind I'm going to have an aspirin. Or twelve.
Merge remote-tracking branch 'laarmen/fix_lua_serializer'